I'm not sure why the security system saves the files to the server like this and I've looked all over the OS for some type of adjustment. But no dice.
I want to remove the "variable.useless-info" portion.
Normally, if the value after the 2nd "." in the file name was fixed, I would use something like this.
Code: Select all
for file in *.avi; do mv "$file" "${file/.v*/.avi}" ; done
I know for sure there is a way to have the command to pass the 1st "." and operate at the 2nd "."
I've been googling like a maniac. I can't seem to find the correct format.
Any help with this is greatly appreciated.