On my Debian system (well, my LMDE system, but close enough), I have at least 3 different
/usr/local/bin/rename: This is a Perl script, written by Tom Christiansen. Oddly enough, I can't seem to find which package installed it:
$ dpkg -S /usr/local/bin/rename dpkg-query: no path found matching pattern /usr/local/bin/rename
/usr/bin/prename: another perl script, written by Robin Barker, this one is part of the
$ dpkg -S /usr/bin/prename perl: /usr/bin/prename
/usr/bin/file-rename: yet another Perl script, no clear authorship information but both a Larry (presumably Wall) and a Robin (presumably Barker) are mentioned. This one is installed by the
renamepackage and is also symlinked to
$ dpkg -S /usr/bin/file-rename rename: /usr/bin/file-rename
I also have
util-linux but let's ignore that one for now. What is the difference between these 3 Perl scripts? They all seem to have the same man page,
man file-rename and
man prename all give me the same page.
I could go through the scripts themselves and try to understand the differences but that is not trivial and I am hoping someone will know what features each has that the others don't. Bonus points for explaining why the Debian world needs three separate Perl rename scripts.