[thelist] Fwd: bulk rename on Mac
Joel D Canfield
joel at bizba6.com
Tue Nov 23 15:02:09 CST 2010
> > Nomad:~/documents/tips Apple$ ripple:/tmp$ for arg in *.asp; do mv $arg
> > `echo $arg | sed 's/.asp//'`.php; done
> > -bash: syntax error near unexpected token `do'
> > I don't recognise 'ripple'; am I missing something obvious again?
> On Tue, Nov 23, 2010 at 2:55 PM, Joel D Canfield <joel at bizba6.com> wrote:
> I giggled a little to myself when I saw that.
> ripple:/tmp$ is the prompt in terminal. User ripple in the tmp directory.
okay, so my excuse is, we're visiting my mom right now, and she's fairly
chatty, and I wasn't paying much attention, and blah blah blah
time for my nap; thanks Jack (and Hassan and Alex)
More information about the thelist