2014-04-12 18:25:30 +01:00
|
|
|
# exiftool
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> Read and write meta information in files.
|
2019-06-08 01:04:00 +01:00
|
|
|
> More information: <https://owl.phy.queensu.ca/~phil/exiftool>.
|
2014-04-12 18:25:30 +01:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Remove all EXIF metadata from the given files:
|
2014-04-12 18:25:30 +01:00
|
|
|
|
|
|
|
`exiftool -All= {{file}}`
|
2015-08-15 16:04:31 +01:00
|
|
|
|
2016-02-12 23:24:52 +00:00
|
|
|
- Increase time photo taken by 1 hour in directory:
|
2015-08-15 16:04:31 +01:00
|
|
|
|
|
|
|
`exiftool "-AllDates+=0:0:0 1:0:0" {{directory}}`
|
|
|
|
|
2016-02-12 23:24:52 +00:00
|
|
|
- Decrease time photo taken by 1 day and 2 hours on JPEGs only:
|
2015-08-19 22:37:44 +01:00
|
|
|
|
|
|
|
`exiftool "-AllDates-=0:0:1 2:0:0" -ext jpg`
|
|
|
|
|
2016-02-12 23:24:52 +00:00
|
|
|
- Change only DateTimeOriginal by -1.5 hours & do not keep backups:
|
2015-08-19 22:37:44 +01:00
|
|
|
|
|
|
|
`exiftool -DateTimeOriginal-=1.5 -overwrite_original`
|
|
|
|
|
2016-02-12 23:24:52 +00:00
|
|
|
- Rename all JPEGs according to a DateTimeOriginal recursively:
|
2015-08-19 22:37:44 +01:00
|
|
|
|
|
|
|
`exiftool '-filename<DateTimeOriginal' -d %Y-%m-%d_%H-%M-%S%%lc.%%e {{directory}} -r -ext jpg`
|