I must be severely obtuse, because even after reading the man for rename and tons of example scripts that others have given on various message boards, I still can't even begin to understand what the syntax for the rename command actually means.
I'm trying to learn bash commands, and I realize how dangerous it is to simply copy & run commands from the internet without actually understanding what and more importantly why they "do what they do". So, can someone please help me understand what the terms for the rename command mean, so that I can built my own working & accurate command?
For specifics, I've downloaded over 40 youtube videos into the same directory, and they all end in
-fgrhegrvbfv (each one has totally random characters after the -). I simply wish to remove the - and the 12 characters after it in every filename. Many thanks!