ExifTool Forum

General => Metadata => Topic started by: alihusnainc1 on May 04, 2021, 11:49:15 AM

Title: Rename all files in the folder and remove last 4 characters from name.
Post by: alihusnainc1 on May 04, 2021, 11:49:15 AM
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
Title: Re: Rename all files in the folder and remove last 4 characters from name.
Post by: StarGeek on May 04, 2021, 08:55:08 PM
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/