Batch rename based on a regulard expression in OS X
for i in *.ending; do mv "$i" "`echo $i | sed 's/OLD/NEW/g'`"; done
Written by Alexander Woerndl
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Terminal
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#