979Batch Rename Files with rename
Batch renaming files on the command line, in this case screenshot to more descriptive names:
brew install rename
Dry run:
rename -n -e 's/Screen Shot/w2_OpenSCAD/' -z *.jpg
Replace, remove the -n
flag:
rename -e 's/Screen Shot/w2_OpenSCAD/' -z *.jpg
-z
does sanitize the file name, replacing empty spaces with _.