179,854Messages
9,130Senders
30Years
342mboxes

← back to listing · view thread

From:
Brett Dietsch
To:
Date:
Tue, 15 Jul 2003 14:06:28 -0400
Subject:
Re: [idm] OT: renaming mac files
Msg-Id:
<0EA52B1F-B6EF-11D7-A688-000393AE83B6@lawngnome.org>
In-Reply-To:
<3F143E2D.33765B27@njuuus.desdemona.ssw.uni-linz.ac.at>
Mbox:
idm.0307.gz
On Tuesday, July 15, 2003, at 01:47 PM, Kurt Bernhard Pruenner wrote:
quoted 4 lines Brett Dietsch wrote:> Brett Dietsch wrote: >> for i in `find . ` ; do echo "mv $i `echo $i | sed s/\s/_/` ; done > > Whoa - that's at least missing quotes around the "$i"...
nah, you dont need a quote around throw-away variables. you may need a quote elsewhere though, like here: echo "$i | sed s/\s/_/" mind you, im too lazy to actually test any of this right now. with the above stuff, you'll probably get a lot of lines thinking that you mean to make each character separated by spaces a separate line, but hey.. google.
quoted 5 lines But still - whitespace (at least spaces) sure aren't a problem on> But still - whitespace (at least spaces) sure aren't a problem on > Windows > partitions, so are you sure it'll help? (Replacing all whitespace with > an > underscore is going a bit to far, I'd say...)
this is true. the only thing that'll bitch is dos, but why would you play mp3's in dos? but itunes wont care if you replace them, as long as you tell it not to organize the files. if you do, it'll rename them every time you import them. --------------------------------------------------------------------- To unsubscribe, e-mail: idm-unsubscribe@hyperreal.org For additional commands, e-mail: idm-help@hyperreal.org