Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Filename Problem

Posted on 1998-11-10
Medium Priority
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 200 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.
Industry Leaders: 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

618 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