I have a load of video files which I want to rename with the vertical resolution at the end.
eg. VideoFileExample1.mp4 renamed to VideoFileExample1.1080.mp4
How would I do this? I was going to write a Windows batch or bash file using the FOR command, but it seems that ExifTool can do batch operations itself.
Thanks.
Hi Jason,
Try this:
exiftool "-testname<%f.$imagewidth.%e" DIR
If this does what you want, then replace "testname" with "filename" to actually rename the files.
- Phil
I think ImageHeight would be the appropriate tag.
Right, thanks:
exiftool "-testname<%f.$imageheight.%e" DIR
- Phil
Brilliant, that worked. Thanks Phil and StarGeek.
I only just realised that I had replies, as the forum settings don't seem to automatically set notifications for your own posts.