codinasion-archive / codinasion-monorepo

Community Monorepo
https://codinasion.org
MIT License
52 stars 170 forks source link

Script/rename_files.py fails when file_name is typographically same, but Uppercase-lower case mismatch #4312

Closed hi-Kartik2004 closed 1 year ago

hi-Kartik2004 commented 1 year ago

Description

Example

This is a file named topographically the same but differs in upper and lower cases with respect to the folder name.

Ideally the file name must be AddTwoMatrices.c

image

script/rename_files.py runs....

image We get an error saying a file named exactly there exists and there are duplicate files, asking you to delete the wrong one. But we can see that there is only one C file. And the wrong file has not been corrected.

Additional information

You may refer https://answers.microsoft.com/en-us/windows/forum/all/unable-to-name-files-with-a-capital-and-lower-case/5a50d483-ce64-46a3-9105-4e7468a5322e

Code of Conduct

codinasion-bot[bot] commented 1 year ago

👋🏻 Hey @hi-Kartik2004

💖 Thanks for opening this issue 💖

A team member should be by to give feedback soon.

harshraj8843 commented 1 year ago

Hey @hi-Kartik2004, !assign command is only for good first issue !!!

Please choose another issue.

Thanks for your interest in contributing to this project.