Randomizing all EXIF data of a picture

Started by ByWolly, June 29, 2023, 09:38:06 PM

Previous topic - Next topic

ByWolly

I am new to Exiftool and to the forum. Would really appreciate with some help.

So for example I have a picture (source picture) with some EXIF data and I wanna share that EXIF data with another picture (target picture) but first I wanna have all that EXIF data randomized for the target picture.

How do I do this?

StarGeek

Well, taking you literally

exiftool -api "Filter=my @chars=('A'..'Z','a'..'z','0'..'9');$_=join ''=>map $chars[rand @chars], 1 .. rand(20);" -TagsFromFile Sourcejpg "-EXIF:All#<EXIF:All" Target.jpg

But I'm pretty sure that's not what you actually want, as that ends up with random junk that might make some programs choke.

Can you be more specific in what you are actually trying to do?

EXIF data can be a lot of different data types and it probably wouldn't be a simple thing to randomize everything to result with legitimate data.
"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