Using Ubuntu 20.04, I can right-click on a jpg and select 'properties'. A window will open containing the tab 'image'. In this tab, there is a section called 'Keywords', the content of which I would like to receive from the terminal. I tried
identify -verbose example.jpg,
file example.jpg, but none of these approaches delivered the Keyword. Does anybody know how I could achieve this?
The goal of this is to create a folder for each keyword (if not existing already) and put each jpg in the respective folder. I want to write this in a shell script, which I will initiate using a personal command. Any suggestions on how to write this script are also more than welcome.
Thanks in advance!
Edit 8 Feb 21: Following this thread, I converted the the jpg to xmp. The metadata is available in the xmp. How can I read it out easily?