mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-16 21:00:25 +00:00
Update cheatsheets
This commit is contained in:
@@ -30,7 +30,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Move the date at which all JPEG photos in the current directory were taken 1 day and 2 hours backward:
|
||||
|
||||
`exiftool "-AllDates-=0:0:1 2:0:0" -ext jpg`
|
||||
`exiftool "-AllDates-=0:0:1 2:0:0" {{[-ext|-extension]}} jpg`
|
||||
|
||||
- Only change the `DateTimeOriginal` field subtracting 1.5 hours, without keeping backups:
|
||||
|
||||
@@ -38,4 +38,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Recursively rename all JPEG photos in a directory based on the `DateTimeOriginal` field:
|
||||
|
||||
`exiftool '-filename<DateTimeOriginal' -d %Y-%m-%d_%H-%M-%S%%lc.%%e {{path/to/directory}} -r -ext jpg`
|
||||
`exiftool '-filename<DateTimeOriginal' {{[-d|-dateFormat]}} %Y-%m-%d_%H-%M-%S%%lc.%%e {{path/to/directory}} {{[-r|-recurse]}} {{[-ext|-extension]}} jpg`
|
||||
|
||||
Reference in New Issue
Block a user