I used to rename file in Linux via a rename command:
rename 's/old_pattern/new_pattern/g' *glob
Is there something similar in Mac OS X (Snow Leopard)?
|
I used to rename file in Linux via a rename command:
Is there something similar in Mac OS X (Snow Leopard)?
| ||||
feedback
|
|
Clumsy me:
And if you want to use it like I do often this way:
I recommend to use this litte script in ~/bin/rename:
| ||||
feedback
|
|
There are various version of rename. It looks like you are looking for the Perl-based one. One version of this utility comes with the File::Rename Perl module. You can install it with something like Or, you could go with the rename from Debian's perl package. It is just a single file to download. Put it where ever you like and chmod it so that it is executable. An alternative is the zmv tool that comes with zsh. It does not have the same syntax, but it does come with your OS and it can easily take care of many of the common cases. | |||
|
feedback
|
|
Use the power of ZSH wisely (type
ZMV follows MMV syntax. | |||||||||
feedback
|
|
You can try to install MacPorts and install the
| |||||
|
feedback
|
|
On Macs I use Aristotle Pagaltzis's freely available You need to place that somewhere in your | |||
|
feedback
|
|
| |||
|
feedback
|
|
The best quick solution I've ever found has been using the built-in Automator. Check out this article for easy step by step help: http://www.tuaw.com/2008/11/11/mac-automation-rename-multiple-files-efficiently/ | |||
|
feedback
|
|
The following article explains how to install | |||||
feedback
|
|
If you are looking for a GUI, try Name Mangler. It has a "preview" feature that shows what will happen if you follow through with the renaming. | |||
|
feedback
|