Apple - How to rename multiple files at once?
No need for command line...
- Add all the images to be renamed into a folder.
- Select all files, right click mouse and select "Rename x items"
- Select "Add text" from first drop down menu
- Select "Before name" from the second drop down menu
- Enter "Vacation_" into the text box (without the quotation marks)
- Press Enter.
Try something like this:
for file in Picture*.jpg
do
mv "$file" "vacation-$file"
done
(open terminal and add one line {press Enter} at a time.)
What that does is uses the variable file for each entry matching Picture*.jpg
. Then it takes the file or folder and moves it to be prefixed with "vacation".
Hope that helps
brew install rename
rename s/config\./route\.config\./g *
First you need homebrew installed. Then install rename, and the above regex renames all files with "config." to "route.config".
So say files config.a.js, and config.b.js -> route.config.a.js, route.config.b.js.