Main Menu

Real newbie question

Started by collectordave, August 26, 2021, 06:27:12 AM

Previous topic - Next topic

collectordave

Hi All

I am working on a MAC.

I have downloaded the MA pkg and installed.

Running from the terminal all works as far as I can test no bother.

I have over 120,000 jpg images the data on each is held in a database.

I would like to delete all existing exif tags in all images.

Is there an easy way to do this?

After deletion I wish to add new exif tags, maybe this could be done while deleting the old tags

And finally I wish to populate all these tags with the data from the database which will have to be done on a one by one basis.

As new images are added I will need to do the same.

Any help appreciated.

collectordave

I think I am making a newbie mistake of making things more complicated than needs be.

I have found that

exiftool -all /Users/dave/Documents/Testexif/482.jpg

erases all the metadata very quickly so even if I do all files one at a time will be ok.

Also looking at the data to be read into the file it can easily be a CSV string of less than 10kb so could use the UserComment tag to store it.

Which is just as quick to write.

Just one question would it be better to use a tab delimited string or csv?


StarGeek

Quote from: collectordave on August 26, 2021, 09:20:45 AM
Also looking at the data to be read into the file it can easily be a CSV string of less than 10kb so could use the UserComment tag to store it.
...
Just one question would it be better to use a tab delimited string or csv?

That would be entirely up to you, as you will have to be the one parsing data from that tag.  It depends upon what tools you have to parse the data.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

collectordave

I have tried both and exiftool sets and returns it perfectly.

I am using PureBasic and have written the parsing routines which work well now the only problem is getting it all to work from PureBasic.