Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

The Perl script (by Larry Wall, himself) is called rename.pl and you can find it with Google fairly easily.

For example, here

You will then need to save it in suitable directory. Probably /usr/local/bin/ and make sure it's executable. In Ubuntu, I would type

sudo chmod +x /usr/local/bin/rename.pl

But I don't know if you use sudo on Fedora.

share|improve this answer
    
As of Fedora 15, sudo is configured by default. Previous versions required manual configuration. –  Patches Jun 27 '11 at 22:11
    
Noted, thanks @Patches. –  pavium Jun 27 '11 at 22:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.