Batch Rename Files In Bash
Here's how to rename a bunch of files in bash:
j=0; for i in *.jpg; do mv $i ${j}.jpg; j=`expr $j + 1` done
Written by Sean
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Related Tags
#bash
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#