View Single Post
Old 10-25-2003, 11:33 PM  
m0rph3us
Confirmed User
 
Join Date: Mar 2001
Location: Principality of Sealand
Posts: 2,033
attn: programmers - quick shell or perl script will paypal

I need a quick shell or perl script that renames files recursively.

I have 100k files all like this in multiple directories and subdirectories:

something_1.jpg something_10.jpg something_100.jpg
need to rename everything to
something_001.jpg something_010.jpg something_100.jpg

script should handle wildcards for the "something" as well as work recursively in directories (ie, I run it once, it seeks all *.jpg files as deep as possbile in the dir structure)

post your contact info icq me at 91603384. looking to get this done tonight or tomorrow. quick cash via paypal.

NB: This shell script has to run on FreeBSD or can be a perl script running in FreeBSD

cheers.
m0rph3us is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote