Solved

Filename Problem

Posted on 1998-11-10
6
227 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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.
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.

828 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