Filename Problem

Posted on 1998-11-10
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..
Question by:jutty
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Expert Comment

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?
LVL 51

Accepted Solution

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

Author Comment

ID: 2007736
What I am wanting to know is how do I make unix recognise the hyphens in the filenamesstraight from the cd.
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 51

Expert Comment

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

Expert Comment

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

Expert Comment

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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java core in Solaris 10 1 315
Access Required to Read Linux Security Settings and User Permissions 13 150
Access_log 17 166
awk sed variable in file 3 98
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

696 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