Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Cunir

macrumors regular
Original poster
Nov 25, 2021
229
278
Hello. Does anyone know a way of getting a list of every single tag you've applied to your photos on your Mac?
I've seen where you can get a big list of them in 'Keyword Manager', and also 'Edit Keywords', but unfortunately if you try and copy them in the normal way they won't paste.
I've literally got thousands of them, so writing them all out by hand isn't going to work.
Thanks for your help!
 
You could use e.g exiftools from the terminal:

exiftool -csv -Keywords -r -ext jpg /wherever/your/images/are/located/ > keyworddata.csv

This will write the metadata of all JPGs in the (sub)folders of the given path into a CSV-text file. Which you can clean up removing all duplicate entries/keywords:

sort -u keyworddata.csv -o unique-keyworddata.csv


Additional solutions preferred by others are probably available. 🤜🤛🤓 (macOS‘s sips can be used for this (?))
 
cheers for the reply.
I'm always a bit worried about fiddling with terminal (i always think i'm going to brick the computer!), but I'm going to give it a go
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.