Rename all files in the folder and remove last 4 characters from name.

Started by alihusnainc1, May 04, 2021, 11:49:15 AM

Previous topic - Next topic

alihusnainc1

Viewers,

Can you please help me out in renaming all files of the directory and i need to remove last few characters from the name.

Regards,
ALi

StarGeek

Please do not post multiple times.  One post is enough.

Try this command to make sure it is doing what you want.  If it looks correct, change TestName to FileName
exiftool -TestName=%-.4f.%e /path/to/files/
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).