add fotograph delete camera etc., stay gps

Started by lobered, March 10, 2019, 10:30:51 AM

Previous topic - Next topic

lobered

Hi, i am a exiftool beginner, so i look for a command, which
1) add the fotograph (Name of the person who makes to picture), copyright info
2) delete the camera datas (aperture, model, flash, etc)
3 GPS-Data should not be changed.

in a lot of jpgs in a folder.

can someone help me?

StarGeek

For your first question, the problem is there are multiple tags that would be the place to put this info.  It's up to you to decide where to put it or if to put it in all the available spots.

If you're uncertain what data the programs you most commonly use will read, the I'd suggest looking at the Metadata Working Group (MWG) tags.  These will write to multiple tags and are pretty straightforward.  In the case of your example, your command would be along these lines:
exiftool -MWG:Creator=lobered -MWG:Copyright="© 2019 by lobered" FileOrDir

For your second question, the basic command to delete something is to set it to nothing e.g. -TAG= where you would replace TAG with the name of the tag you want to remove.  If you want to specifically target certain tags, you would have to list them all like that.  But most of the time, the camera data will be in the EXIF block, so you could just remove that.  But that block also contains the GPS data, so that info has to be reapplied to the image.
exiftool -EXIF:All= -TagsFromFile @ -GPS:All FileOrDir

One warning, this command is pretty safe to use on jpegs, but you do NOT want to use it on a RAW file (.NEF, .CR2, etc).  It might make the file unreadable and impossible to render.

These commands creates backup files.  Add -overwrite_original to suppress the creation of backup files.  Add -r to recurse into subdirectories.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype