As the title says, how can I change the extension of every file in a directory in Ubuntu? I've seen some examples use rename etc etc but I get an error (Unable to locate package rename) and it's not accessible through apt-get.
As an additional, I don't actually know the original file type! It's data that's been copied from the file system of Hadoop to the local drive and I need them all to be in .txt format.
If it makes a difference, I'm running Ubuntu 12.04 in Oracle Virtual Box
Edit: Output of: ls -l /usr/bin/rename /etc/alternatives/rename
amartin24@ubuntu-amartin24:~/TwitterMining/JSONTweets$ ls -l /usr/bin/*rename* /etc/alternatives/rename ls: cannot access /etc/alternatives/rename: No such file or directory -rwxr-xr-x 1 root root 10392 Mar 30 2012 /usr/bin/rename.ul