Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

file names mixed environement

Status
Not open for further replies.

mmaleh

IS-IT--Management
Jun 18, 2003
67
US
Hi All,
I was hoping to get some feed back on mixed environment file name structures. If you are working in a mixed Linux and Windows environment are their any special characters you should not use in folder/file names? example right now all of our project folders are named: 'project number' - 'project name' (334-clientname) something like that. obv. all of this is done over a network so truncating could be an issue. not sure. thanks!
-m

 
My company is windows based but fortunatelly I use linux (Ubuntu, debian based :eek:} ). The only issue is when we use accented characters: á é í ó ú and ñ (I speak spanish). There is no problem in console mode (text), the problem is when I use the nautilus in order to browse the filesystems and shared folders from our file server.

Cheers.
 
The characters that will cause the most pain are spaces (' '), and any character that has meaning is a shell ('$', '#', '~', '>', etc). These are legal in Windows, but cause problems in *NIX. Pretty much try to keep the allowable characters to numbers, alphabetic characters, dashes ('-'), underscores ('_'), and dots ('.').

You should also standardise on upper or lower case. Windows is case insensitive, Linux is not. That is, '[tt]File.txt[/tt]' and '[tt]file.txt[/tt]' are the same file from Window's, but not Linux.

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top