I'm using Ubuntu 10 and I'm quickly finding out that it's case sensitive when it's inconvenient for it to be so (like when autocompleting file paths with tab in terminal) but also case INsensitive when using the MV and CP commands (also inconvenient when trying to duplicate a filename with a different case).
In essence, I need this command to work but it doesn't.
cp ./filename.txt ./FileName.txt
I just end up with filename.txt
:
How can I get the same file with a different case but same name in the same directory?
EDIT: Maerics' comment below helped me remember that I'm actually developing on a Windows shared drive running NTFS which is case INsensitive. This is why even though CP and MV don't generate an error, the file isn't copied (or more likely IS copied, but Windows replaces the already existing one).