You are my new best friend!
I need to batch rename 120,000 jpeg files removing underscores in their names, as quicktime player won’t import jpeg files with underscores in them as an image sequence. Unfortunately applescript falls over for this task, as there is just too much ror it to do. However perl can be used like a mini script from the command line, by piping the command through to perl:
ls *.jpg | perl
what I need perl to do then is to find and remove the underscores. If you can do that I will be VERY grateful!
9 Responses for "Woo, S2!"
what’s that?
You read my mind.
Read recent stuff in lj_dev.
It’s the new livejournal style system.
http://www.livejournal.com/customize/
*confused* What was wrong with the old way?
Ah well. *sticks to old way*
Well you know all the overrides and stuff? Kinda confusing to learn, right?
Well S2 has like “wizards” and stuff that will do all that for you.
mmm
impressive, it is.
do you know perl btw?
That I do…
You are my new best friend!
I need to batch rename 120,000 jpeg files removing underscores in their names, as quicktime player won’t import jpeg files with underscores in them as an image sequence. Unfortunately applescript falls over for this task, as there is just too much ror it to do. However perl can be used like a mini script from the command line, by piping the command through to perl:
ls *.jpg | perl
what I need perl to do then is to find and remove the underscores. If you can do that I will be VERY grateful!
Leave a reply