in the folder. rename should live in /usr/bin/ and should be on you $PATH so you can just run it as is. Run it with a -n flag if you want a test run rather than the real thing.
Of course, that answer depends on your flavour of Linux and whether you have Perl properly installed (that rename is just a symlink to Perl’s prename script)
Thanks guys (?). Both methods worked for me except for the rename -n option. This is Red Hat 7 and the rename man page only lists options for verbose, version, symlink and help.