Created
July 25, 2022 19:39
-
-
Save ip413/38f68112379dac42edb4029a4df7d1a9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/usr/bin/bash | |
# change modify date of file to date from exif properties (DateTimeOriginal) | |
for file in *; do touch -t `exiftool -s -s -s -d "%Y%m%d%H%M.%S" -DateTimeOriginal $file` $file; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment