Debian-like rename utility - available via MacPorts?
dports at macports.org
Wed Feb 22 17:32:17 PST 2012
On Wed, Feb 22, 2012 at 11:33:50PM +0000, Sam Kuper wrote:
> If I'm not mistaken, in Debian Linux (& Ubuntu, etc), there is a
> "rename" utility, which I think comes from Debian's Perl package. It
> allows file renaming using regular expressions, as described in Jens
> Dreger's post here.
> In any case, it would be much better if MacPorts users could simply
> get "rename" by running "port install rename" much as Brew users can
> apparently get it by running "brew install rename".
Sounds like a useful thing to have. I just added the p5-file-rename
port, which is a newer version of that script. It installs both a perl
module and a command-line script `file-rename`.
Dan R. K. Ports MIT CSAIL http://drkp.net/
More information about the macports-users