Linux – How to install regexp enabled ‘rename’ on fedora


I have a batch rename task and I find the 'rename' command in Ubuntu and Fedora is different.

In Ubuntu, rename is written in Perl and has regexp support. Is there anyway to install it on Fedora?

Best Answer

  • The Perl script (by Larry Wall, himself) is called

    You will then need to save it in suitable directory. Probably /usr/local/bin/ and make sure it's executable, by typing

    sudo chmod +x /usr/local/bin/
  • Related Question