Solved

Filename Problem

Posted on 1998-11-10
6
229 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
[X]
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
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
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

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

Independent Software Vendors: 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!

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…
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.

691 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