Debian-like rename utility - available via MacPorts?

Dan Ports 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[1].
[...]
> 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"[2].

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

-- 
Dan R. K. Ports              MIT CSAIL                http://drkp.net/


More information about the macports-users mailing list