LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-14-2005, 11:28 AM   #1
kosa
LQ Newbie
 
Registered: Jul 2004
Location: Poland, Warsaw
Distribution: debian-knoppix
Posts: 11

Rep: Reputation: 0
Question How to preserve capital letters?


When I copy a file with the name containing exclusively capital letters from linux partition to FAT32 partition all capitals are being changed to lowercase letters. When I copy a file with the name containing both capital and lowercase letters the name of the copied file is not changed. Thus: copying a file named "TEST" will result in getting the file named "test". Copying a file named "TeSt" will result in getting the file named "TeSt".

What should I do to preserve capitals in files with names containing capital letters exclusively?
 
Old 07-14-2005, 01:44 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 116Reputation: 116
From the vfat section of man mount(8):
Quote:
shortname=[lower|win95|winnt|mixed]

Defines the behaviour for creation and display of filenames
which fit into 8.3 characters. If a long name for a file exists,
it will always be preferred display. There are four modes:

lower Force the short name to lower case upon display; store a
long name when the short name is not all upper case.

win95 Force the short name to upper case upon display; store a
long name when the short name is not all upper case.

winnt Display the shortname as is; store a long name when the
short name is not all lower case or all upper case.

mixed Display the short name as is; store a long name when the
short name is not all upper case.

The default is "lower".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to remove capital letters and blanks? Vincent Linux - General 5 05-16-2005 02:15 PM
Capital i shows up as [ {O_o} Linux - Newbie 0 10-06-2004 08:33 PM
adduser fails with capital letters in a RH 9 and no in other RH 9 michi Linux - Newbie 1 06-11-2004 09:56 AM
usernames with capital letters in RH9 orange400 Linux - General 2 04-27-2004 05:57 AM
capital letters at the console alim Slackware 5 04-25-2002 01:32 PM


All times are GMT -5. The time now is 02:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration