Created
March 22, 2023 06:11
-
-
Save xinyangli/2baaa6970ab08ec5ca7bed9f211476e3 to your computer and use it in GitHub Desktop.
Exiftool Cheetsheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
# View EXIF | |
exiftool -all:all <filename> | |
exiftool -xmp:all <filename> # view information in embedded xmp | |
# Move file according to capture date | |
exiftool -if '$datetimeoriginal ge "2023:03:17 00:00:00"' -'FileName<filename' -o <outdir> | |
# Export ratings to sidecar xmp | |
exiftool -ext jpg -X -xmp:Rating -o %d%f.xmp [-r] <srcdir> | |
# Apply ratings from sidecar to image file | |
exiftool -ext jpg -ext raf -tagsFromFile %d%f.xmp -xmp:Rating [-r] <srcdir> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment