Author Topic: Batch Remove ALL Non-essential File Info from All Files in Specified Folder  (Read 1968 times)

ExifCleaner

  • Newbie
  • *
  • Posts: 3
I have no need for editing some or all Exif, metadata, etc info in files specifically.

I only wish to simply remove all non-essential data from all supported file types (exiftool.org/index.html#supported) in a specified folder, let's say desktop/temp.

For example, an image file, I only wish for the data that is actually required to display the image remain and nothing else.

1. Is this possible?

2. Has anyone written any commands like this for Terminal on Mac?

Thanks

StarGeek

  • Global Moderator
  • ExifTool Freak
  • *****
  • Posts: 3774
ExifTool -all:all=  desktop/temp

That will delete all supported metadata except for Adobe App14 in jpegs because that sometimes contains info necessary for viewing the image properly. 

This command will leave behind backups.  Add -overwrite_original to prevent the backup files creation.
Troubleshooting hints:
* When posting, include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).
* Double all percent signs (%) in a Windows batch file.
* If your GPS coords are negative, make sure and set the GpsLatitudeRef and GpsLongitudeRef tags correctly.

ExifCleaner

  • Newbie
  • *
  • Posts: 3
That is so incredibly beautiful.

Thank you.

ExifCleaner

  • Newbie
  • *
  • Posts: 3
Any program recommendations for removing unneeded data from video files, hopefully something that covers a wide range of file types?