Reputation: 111
I have a folder with many directories that have pictures and I need to remove the EXIF file.
I used this code and it seems to work but my file size grow for no reason
find /Users/justinbarrilleaux/Downloads/2015 -type f -name '*.JPG' -exec exiftool -all= {} \;
Any clues how to solve this issue?
Upvotes: 1
Views: 648
Reputation: 27215
Are you sure each file grew? Take a look inside your directory, I think there might be more files than before.
As far as I know, exiftool
creates a backup for each modified picture. The backups are called filename.JPG_original
.
Either delete the backups
rm /Users/justinbarrilleaux/Downloads/2015/*.JPG_backup
or prevent backups in the first place.
exiftool -overwrite_original -all= {}
Upvotes: 2