Re: [SLUG] File names with spaces irritant

From: Eben King (eben1@tampabay.rr.com)
Date: Wed Dec 29 2004 - 13:42:34 EST


On Wed, 29 Dec 2004, Chuck Hast wrote:

> I get a lot of files that have spaces in the name, on the company e-mail
> system.
> When I try to open them (with Firefox)

What are you using to open them? That's what needs to be reconfigured so
it quotes the filename, i.e. change

firefox %1

to

firefox "%1"

(or whatever)

> I know of course that *nix OS in general do not like spaces in the file names
> unless you quote the file name first.

*nix doesn't care one way or the other. Your filemanager or shell might
care.

> as a example I got some .jpg files with spaces in the names, I had to save
> the files and then go in and look at them after re-naming them to get rid
> of the spaces.

rename \ _ *\ *

repeat for any other "special" characters.

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar
CAPRICORN:  The stars say you're an exciting and wonderful person...
but you know they're lying.  If I were you, I'd lock my doors and
windows and never never never never leave my house again.  -- Weird Al

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:43:41 EDT