TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:18790] quick way to strip spaces...



*whacks himself!!*

> From: Mike Hicks <hick0088@tc.umn.edu>
> Reply-To: tclug-list@mn-linux.org
> Date: Wed, 14 Jun 2000 16:18:18 -0500
> To: tclug-list@mn-linux.org
> Subject: Re: [TCLUG:18790] quick way to strip spaces...
> 
> 
> Oops..  your shell probably expanded the *.mp3 to actually be all of the
> MP3 files in your current directory..  More quotes are necessary..
> 
> for i in $(find -name "*.mp3"); do mv "$i" $(echo $i | sed s/\ /-/);
> done
> 
> -- 
> _  _  _  _ _  ___    _ _  _  ___ _ _  __   90% of all statistics are
> / \/ \(_)| ' // ._\  / - \(_)/ ./| ' /(__   made up on the spot.
> \_||_/|_||_|_\\___/  \_-_/|_|\__\|_|_\ __)
> [ Mike Hicks | http://umn.edu/~hick0088/ | mailto:hick0088@tc.umn.edu ]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org
> 
>