I'm using Elementary OS (still very new to any UNIX system) and have hundreds of text files on my old hard drive that I need to sort. All text files have a name such as;
lua - eng1-6TH4eI8gtf3.txt
I need a command that can remove the last 11 characters from all of them, but still leaving the extension. Looking around I saw the "rename" command, but I'm not sure if that would work for me.
A command that i could just copy, paste and then change anything like a directory would be amazing, and an explanation of what everything does.