Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use exiftool to group photos by their exif info, e.g., date #146

Open
aben20807 opened this issue Jun 1, 2023 · 1 comment
Open

Use exiftool to group photos by their exif info, e.g., date #146

aben20807 opened this issue Jun 1, 2023 · 1 comment

Comments

@aben20807
Copy link
Owner

aben20807 commented Jun 1, 2023

group by day:

exiftool -d %Y%m%d_ "-directory<filemodifydate" "-directory<createdate" "-directory<datetimeoriginal" ./

group by month:

exiftool -d %Y%m "-directory<filemodifydate" "-directory<createdate" "-directory<datetimeoriginal" ./

ref: https://exiftool.org/filename.html

@aben20807
Copy link
Owner Author

aben20807 commented Aug 25, 2023

  • rename DSC_XXX_XXX_retouched.JPG to YYYYmmdd_HHMMSS_DSC_XXX_XXX_retouched.JPG
exiftool -progress:%30b -m -a -d %Y%m%d_%H%M%S -if '$filename =~ /^DSC/' '-filename<${datetimeoriginal}_${filename}%-c' .
  • -progress:%30b is for progress bar in the terminal title

image

@aben20807 aben20807 changed the title Use exiftool to group photos by their date Use exiftool to group photos by their exif info, e.g., date Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant