How to rename a long list of photo filenames?

Ben Browning plug at emptiedout.com
Thu Nov 10 22:59:21 MST 2005


der.hans wrote:
> for file in pict*.jpg; do mv -i $file ${file/pict/a}; done

TMTOWTDI.

rename 's/porngasmica/churchtastic/' *.jpg

~Ben
-- 
---
"Confession only helps if you actually feel bad for your actions.
For you, it would just be a really long boast."
	-Tara
http://www.emptiedout.com


More information about the PLUG-discuss mailing list