LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   copying files & folders with ALL CAPS (https://www.linuxquestions.org/questions/linux-newbie-8/copying-files-and-folders-with-all-caps-596400/)

digity 11-01-2007 01:44 PM

copying files & folders with ALL CAPS
 
I'm having problems copying files and folders that have all capitals letters in their filenames to my Linux box. If I copy a file or folder with a name like SWAT or 2THIRTY it'll create the name as swat or 2thirty on the linux system. And if it's a folder it won't copy its files/content because the uploading/copying machine is looking for /path/to/2THIRTY when it's actually been changed to /path/to/2thirty by the linux system.

this is happening when copying stuff from my Windows box to my Linux box (Ubuntu 7.10).

Why is it lowercasing all caps files & folders and how do I get it to not do that?

TIA

visaris 11-01-2007 01:59 PM

This happens because windows is case insensitive and linux is case sensitive. As an example, in windows, the files "Foo", "FOO", and "foo" are all the same. It doesn't care about the caps on the names. In linux, "Foo", "FOO", and "foo" are totally different files, because the caps matters.

I suppose linux must default every windows file to lower case to keep all the names clean and consistent, but I can see how this might be annoying at times... not sure of an easy way to fix it, though..

digity 11-01-2007 06:02 PM

well how do I at least get Linux to allow ALL CAPS in a file/folder name?

what I'm basically doing is duplicating my iTunes music folder from my Windows computer to my home server (which is the Linux box) using Retrospect and the script keeps failing because of the capitalization problem. Maybe there's a work around?

The_JinJ 11-01-2007 06:43 PM

Have a look at the 'r' option for mount - may be what your looking for (not tested myself) - it allows upper and lower case

EDIT
Or 'posix' for NTFS


All times are GMT -5. The time now is 09:24 AM.