Skip to content

Instantly share code, notes, and snippets.

@basilesimon
Created April 3, 2025 12:26
Show Gist options
  • Save basilesimon/d59d07d85662a229c2a9829a327b249c to your computer and use it in GitHub Desktop.
Save basilesimon/d59d07d85662a229c2a9829a327b249c to your computer and use it in GitHub Desktop.
$ exiftool -m -p template.txt -r path/to/images  > out.csv
$ cat out.csv | head -n 5
"/DGuttenfelder_DPRK_2017/2017_iPhone","DPRK_iphone_2017_1208.jpg","Apple","","iPhone 6s Plus back camera 4.15mm f/2.2","1/172","2.2","25","4.2 mm","Program AE","2017:08:28 15:45:36","39 deg 2' 0.27" N, 125 deg 41' 31.51" E","39 deg 2' 0.27" N","125 deg 41' 31.51" E","2017:08:28 07:15:36Z","2017:08:28","78.74673629","","","","","","","","","",""
"/DGuttenfelder_DPRK_2017/2017_iPhone","DPRK_iphone_2017_0670.jpg","Apple","","iPhone 6s Plus front camera 2.65mm f/2.2","1/954","2.2","32","2.6 mm","Program AE","2017:08:27 12:08:06","37 deg 57' 22.13" N, 126 deg 40' 37.81" E","37 deg 57' 22.13" N","126 deg 40' 37.81" E","2017:08:27 03:38:06Z","2017:08:27","245.7400531","","","","","","","","","",""
"/DGuttenfelder_DPRK_2017/2017_iPhone","DPRK_iphone_2017_0664.jpg","Apple","","iPhone 6s Plus front camera 2.65mm f/2.2","1/954","2.2","32","2.6 mm","Program AE","2017:08:27 12:08:04","37 deg 57' 22.13" N, 126 deg 40' 37.81" E","37 deg 57' 22.13" N","126 deg 40' 37.81" E","2017:08:27 03:38:04Z","2017:08:27","245.4357143","","","","","","","","","",""
"/DGuttenfelder_DPRK_2017/2017_iPhone","DPRK_iphone_2017_1234.jpg","Apple","","iPhone 6s Plus back camera 4.15mm f/2.2","1/233","2.2","25","4.2 mm","Program AE","2017:08:28 15:45:48","39 deg 2' 0.07" N, 125 deg 41' 31.64" E","39 deg 2' 0.07" N","125 deg 41' 31.64" E","2017:08:28 07:15:48Z","2017:08:28","81.79022989","","","","","","","","","",""
"/DGuttenfelder_DPRK_2017/2017_iPhone","DPRK_iphone_2017_0894.jpg","Apple","","iPhone 6s Plus back camera 4.15mm f/2.2","1/4","2.2","64","4.2 mm","Program AE","2017:08:27 19:46:20","39 deg 1' 12.62" N, 125 deg 46' 4.52" E","39 deg 1' 12.62" N","125 deg 46' 4.52" E","2017:08:27 11:16:14.68Z","2017:08:27","307.8038585","","","","","","","","","",""
-Make
-CameraModelName
-LensModel
-ExposureTime
-FNumber
-ISO
-FocalLength
-ExposureProgram
-DateTimeOriginal
-GPSLatitude
-GPSLongitude
-GPSDateTime
-GPSDateStamp
-Copyright
-Creator
-Keywords
-Caption-Abstract
-Headline
-Description
-Creator
-IPTCDigest
-TimeZone
-TimeZoneCity
"$Directory","$FileName","$Make","$CameraModelName","$LensModel","$ExposureTime","$FNumber","$ISO","$FocalLength","$ExposureProgram","$DateTimeOriginal","$GPSPosition","$GPSLatitude","$GPSLongitude","$GPSDateTime","$GPSDateStamp","$GPSImgDirection","$Copyright","$Creator","$Keywords","$Caption-Abstract","$Headline","$Description","$TimeZone","$TimeZoneCity","$IPTCDigest","$CurrentIPTCDigest"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment