IUBio

Spaces in Unix file names

Andy Law Andy.Law at bbsrc.ac.uk
Thu Oct 2 03:57:26 EST 1997


In article <01IOAL1KIMQQC2V5TM at CLUSTER.NIEHS.NIH.GOV>,
STAFFA at CLUSTER.NIEHS.NIH.GOV ("NICK STAFFA 361-5444 EXT. 410") wrote:

 >  Some older ABI sequencers make files named (e.g.)"Sample 01.Seq" on
their Macs.
 >  Dartmouth's Fetch for some reason will copy the file to Unix and leave
 >  the space in the filename (It doesn't do that to VMS.).  
 >  SeqLab chokes on such entries since space is a field delimiter in Unix 
 >  commands. 
 >  
 >  Does anyone know how to doctor Fetch to always remove blanks?
 >  Does anyone have a script that'll remove blanks from filenames on a
 >  Unix System?

One alternative is to rename the files on the Mac end. There is a rather
splendid shareware program called Drop Rename that you should perhaps look
at. That way you have control over the renaming process

On the other hand, Fetch 3.0 has a Preference (Under the 'Upload' Tab)
called 'Encode and decode file and folder names' that might do the trick
for you, but that might just mean slashes and colons.

Andy Law
------------------
( Andy.Law at bbsrc.ac.uk )
( Big Nose in Edinburgh )



More information about the Info-gcg mailing list

Send comments to us at biosci-help [At] net.bio.net