Wednesday, July 25, 2018
ExifTool Automatically Adding Missing File Type Extensions
ExifTool Automatically Adding Missing File Type Extensions
It may be of little consequence if only a small number of known file types have lost their correct file type extension, such as a JPEG file being accidentally renamed from IMAGE.jpg to IMAGE. Small numbers of known files are easy to fix.
However if there are many files and multiple file type formats, the task of restoring missing the file type extensions can be time consuming and laborious as one has to ensure that the correct file type extension is applied to each file.
Fortunately, Phil Harvey�s excellent ExifTool program offer�s a simple command to automatically add missing file type extensions based on each file�s metadata.
Mac OS:
exiftool -ext * -filename<%f.$fileTypeExtension /Path/To/File Or Folder
Win OS:
exiftool -ext "*" "-filename<%f.$fileTypeExtension" "C:PathToFile or Folder"
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.