[CLUE-Tech] Re: removing spaces from filenames

Jed S. Baer thag at frii.com
Thu May 20 23:51:20 MDT 2004


On Fri, 21 May 2004 00:26:28 -0400
Angelo Bertolli <angelo at freeshell.org> wrote:

> This looks pretty cool, can I pipe find through it instead of ls?  As it
> turns out some directories have spaces too...

Sure, you *can*. I don't know whether you *should*. ;-) I've never tested
it with find output. The main thing is that if you rename the directory
before the files below it are renamed, then the mv command will fail
because it'll have the wrong directory name.

Experiment with commenting out the system call, and just see what the
print statement tells you about what it would have done.

jed
-- 
http://s88369986.onlinehome.us/freedomsight/

... it is poor civic hygiene to install technologies that could someday
facilitate a police state. -- Bruce Schneier



More information about the clue-tech mailing list