Solved

Filename Problem

Posted on 1998-11-10
6
226 Views
Last Modified: 2010-04-21
Now I know jack squat about unix so.  I burn a cd in win98
the files on the cd can be read from the cd on a win98 machine.  The files can be ftp'd from the win98 box to the dos box and the filenames keep their hyphens - but if I try to read the cd on a unix box the hyphes become underscores..
0
Comment
Question by:jutty
  • 3
  • 2
6 Comments
 
LVL 3

Expert Comment

by:braveheart
ID: 2007734
So what's your question?  Is it "why does this happen?" or is it "how do I convert the underscores back to hyphens?" or something else entirely?
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 2007735
check your mount command for character mapping options (man mount)
0
 

Author Comment

by:jutty
ID: 2007736
What I am wanting to know is how do I make unix recognise the hyphens in the filenamesstraight from the cd.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 51

Expert Comment

by:ahoffmann
ID: 2007737
UNIX itself can deal with any character in filenames, except / and NULL.
Only following filenames are not allowed:  .  and  ..
So your problem is not UNIX, but the command which mounts the CD or your
command with which you're inspecting the CD.
So please first check your mount, after reading   man mount
0
 
LVL 3

Expert Comment

by:braveheart
ID: 2007738
...unless it is a conflict between character sets.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 2007739
... then there could be read nothing (useful) from cd, probably ;-o
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question