Patrick O'Callaghan wrote: > I wonder if that version is actually prename ('dnf install prename') > under a different name, which would be nicely ironic ... Heh. I think they're different. I'm not a Debian user though, so I could be way off on what follows. :) This gets quite messy. The /usr/bin/rename command is managed by alternatives in Debian. The default for rename in a docker container of Debian 8 is file-rename. The file-rename command comes from the rename package. It's installed as file-rename rather than rename based on this commit: https://salsa.debian.org/perl-team/modules/packages/rename/commit/642262b4 The source of the Debian rename package is the perl File::Rename module, here: https://metacpan.org/release/File-Rename The Fedora prename package points to: http://search.cpan.org/dist/rename/ That's a different perl rename tool (since you can never have too many rename tools, obviously). Debian ships prename as well. It's in the rename alternatives group. Debian also ships the util-linux rename as rename.ul, but it doesn't seem to be in the alternatives group for rename. Clearly, using the command in a script would be insane, as you'd have more lines of code to determine which version you were using than it would take to just rename the files using whatever language the script was written in. :) -- Todd ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ A diplomat is a person who can tell you to go to Hell in such a way that you actually look forward to the trip. -- Anonymous
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx