Need help with renaming jpgs
I have a bunch of JPGs in my personal photo gallery. I want to clean everything up and move all the pics to one folder so that I can look through them.
I would just do a mv *.jpg, but a LOT of files have the name (001.jpg, 002..jpg)...etc in each subdir)
Any idea how I can recursively move and rename all JPGs from subdirs to a toplevel dir?
001.jpg
002.jpg
is fine..
Perl or shell is ok.
thanks!
|