Re: getting rid of filenames with whitespaces
From: John Winters (newstmp_at_sinodun.org.uk)
Date: 01/31/04
- Next message: Nick Kew: "Re: Retrieving data from tapes created on VMS system"
- Previous message: jDeGraw: "Re: capture directv/vcr"
- In reply to: KR: "getting rid of filenames with whitespaces"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 31 Jan 2004 13:26:12 +0000 (GMT)
In article <4019fe80$0$264$f4da8220@news.eplus-online.de>,
KR <huh@what.edu> wrote:
>Hi fellow admins,
>
>i'm using a Linux system running Samba as a filestore for a Windows client.
>Now i have a large amount of files and directories containing
>whitespaces within the filenames. From the Windows side this is no
>problem, but since some Unix commands cannot handle such files properly,
>i would like to substitute each blank in a filename with an underscore
>("_").
I would really advise against this. Linux/UNIX commands are just as
happy with spaces as Windows ones are. Indeed, in many cases they're
*more* happy because spaces have always been allowed in Linux/UNIX file
names whilst they're an add-on afterthought for DOS/Windows.
Your users will get really hacked off with you if you go renaming their
files, and you'll be spreading disinformation if you use the excuse
"I had to do it because Linux can't cope with them".
Leave the file names alone and learn to use the utilities properly.
John
-- Wallingford, Oxfordshire, England We had a woodhenge here once but it rotted.
- Next message: Nick Kew: "Re: Retrieving data from tapes created on VMS system"
- Previous message: jDeGraw: "Re: capture directv/vcr"
- In reply to: KR: "getting rid of filenames with whitespaces"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|