Scott Wickham's Home Page

My Current Domains: My Blog

List of NY realtors sites

Apparently the command line in OSX doesn't have 'rename' even though it seems to have the MAN page for it.

anyway here is a one line script you can use to batch change file extension in the terminal

Below I am taking .mpe files and changing them to .mpg

for file in *.mpe ; do mv $file `echo $file | sed 's/\(.*\.\)mpe/\1mpg/'` ; done