I can only speak for Debian. The two programs are called
/usr/bin/rename.ul
from theutil-linux
package (hence the .ul suffix)/usr/bin/prename
from theperl
package
The actual rename
command works via the /etc/alternatives
mechanism, whereby
/usr/bin/rename
is a symlink to/etc/alternatives/rename
/etc/alternatives/rename
is a symlink to/usr/bin/prename
The same problem has been bugging me on Cygwin, which is a Red Hat product, so should be more similar to Fedora. I’ll have a look on my company laptop on Monday. And I remember the Perl-rename having worked there sometimes. Probably before I installed util-linux
.
If you install the Perl-rename to /usr/local/bin
it will have precedence over rename
from util-linux
. Same goes for the manpage when installed to /usr/local/share/man/man1/
.
I’ve just created a separate Perl-rename package on Github: https://github.com/subogero/rename