OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Normal Linux Behavior?, Uppercase changes to lowercase....
Jon_J
post Jun 9 2006, 02:23 PM
Post #1





Group: Members
Posts: 1,843
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



Over the past several months, I've noticed that when I copy a file or directory from my windows machine to my Zaurus, the "case" gets changed.
This only happens to a file or folder which is named with all UPPERCASE characters.

My folder, "GPS" becomes "gps"
When I look at this folder while connected thru USB, in windows, it is "GPS"
When I look at it in file browser on my Zaurus, and/or Tree!Explorer, it is "gps"

This wasn't a problem to me until I copied some htm/html files, (complete with folder of images), to my Zaurus from my windows desktop.
I was puzzled why some of the images wouldn't appear in Netfront or Picsel Browser, when I opened these offline pages.
I found an example today, what was causing this problem.
I have a htm "manual" for my GPS card and there is one image in the image folder that is all UPPERCASE.
It became lowercase when copied to my Zaurus.
I tried to rename this file in Tree!Explorer, but I couldn't rename it because of this error:
"QDir::rename()"
All permissions were available for this file, but it still wouldn't let me rename it back to all CAPS.
So I opened a copy of the "htm" file in a text editor on my desktop. (I don't have a htm/html editor).
I changed this line from:
<p align="center"><img src="Manual_files/CF-GPS.gif
to
<p align="center"><img src="Manual_files/cf-gps.gif
I saved the file and copied it over the one on my Zaurus, and now this image shows in Netfront and Picsel Browser, just like it is supposed to. smile.gif

What causes this behavior?
anything named in all CAPS becomes all lowercase when copied to my Zaurus.
I use Cacko Lite with no modifications.
Thank you for reading this long post,
Jon
Go to the top of the page
 
+Quote Post
Mjolinor
post Jun 9 2006, 10:22 PM
Post #2





Group: Members
Posts: 227
Joined: 26-October 05
Member No.: 8,405



I think the problem is not with Linux but Windo$e. There is no discrimination between upper and lower case file names on Windo$e so it isn't a problem . Linux has no way of knowing if the letters are upper and lower case in the file names.

It gets more difficult when you copy them from Linux to Windo$e and you have both upper and lower case files with the same name in the same directory.
Go to the top of the page
 
+Quote Post
Meanie
post Jun 10 2006, 05:00 AM
Post #3





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(Mjolinor @ Jun 10 2006, 04:22 PM)
I think the problem is not with Linux but Windo$e. There is no discrimination between upper and lower case file names on Windo$e so it isn't a problem . Linux has no way of knowing if the letters are upper and lower case in the file names.

It gets more difficult when you copy them from Linux to Windo$e and you have both upper and lower case files with the same name in the same directory.
*


that's definitively window's fault. if a file or folder has mixed upper and lower case letters, then the case is preserved when copied but if they are all uppercase, then they are turned into all lower case. there is a registry setting to disable this feature so the filenames remain all uppercase. search annoyances.org for the setting.
Go to the top of the page
 
+Quote Post
Jon_J
post Jun 10 2006, 09:47 AM
Post #4





Group: Members
Posts: 1,843
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



I searched annoyances.org for this and here is the result.
There are other results under the XP forum, but they all pertain to this particular subject.
http://www.annoyances.org/exec/show/article02-101
I'll quote the first part of it:
----------------------------------------------------------------------------------------------
By default, Explorer displays uppercase (all caps) 8.3 DOS-style filenames (such as "README.TXT") in a "prettier" format (such as "Readme.txt).
If the filename has more than eight letters (not including the extension), or if the filename contains at least one space, the capitalization is not modified.
(Note: Windows doesn't actually change the capitalization of any files, only the way they're displayed in Explorer.)
----------------------------------------------------------------------------------------------
Look at the last sentence,
(Note: Windows doesn't actually change the capitalization of any files, only the way they're displayed in Explorer.)

There is a registry setting for this, but it only effects how windows explorer, desktop folders, and windows program's file dialogs, display uppercase filenames and foldernames.
It doesn't actually change the uppercase to lowercase, it just changes the way it looks in windows.

So what is actually changing my all caps folders/files to all lowercase when I transfer files from my windows box to my Zaurus?
Go to the top of the page
 
+Quote Post
pockie
post Jun 2 2008, 12:18 PM
Post #5





Group: Members
Posts: 2
Joined: 2-June 08
Member No.: 21,864



Was a solution to this issue ever found? When I copy files from my Linux system to my FAT32 formatted USB drive, it makes some of the directory names lowercase. This is causing problems and it sounds like the original issue in this thread was the same problem.

Was there a resolution?
Go to the top of the page
 
+Quote Post
the_oak
post Jun 4 2008, 04:32 AM
Post #6





Group: Members
Posts: 426
Joined: 10-February 04
From: Virginia, USA
Member No.: 1,794



QUOTE(Jon_J @ Jun 10 2006, 01:47 PM) *
I searched annoyances.org for this and here is the result.
There are other results under the XP forum, but they all pertain to this particular subject.
http://www.annoyances.org/exec/show/article02-101
I'll quote the first part of it:
----------------------------------------------------------------------------------------------
By default, Explorer displays uppercase (all caps) 8.3 DOS-style filenames (such as "README.TXT") in a "prettier" format (such as "Readme.txt).
If the filename has more than eight letters (not including the extension), or if the filename contains at least one space, the capitalization is not modified.
(Note: Windows doesn't actually change the capitalization of any files, only the way they're displayed in Explorer.)
----------------------------------------------------------------------------------------------
Look at the last sentence,
(Note: Windows doesn't actually change the capitalization of any files, only the way they're displayed in Explorer.)


I think they are lying!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd November 2014 - 01:06 PM