René Nyffenegger's collection of things on the web
René Nyffenegger on Oracle - Most wanted - Feedback -
 

Renaming files in a Unix shell

Renaming *.foo files into *.bar files:
for i in *.foo; do mv $i `basename $i .foo`.bar; done