Renaming

https://www.qdev.de/?location=mac/exifrenamer

f2

EXIF variables
Date variables

Revert Previous Naming Scheme

f2 -f '.*(?=[A-Z0-9_]{4}\d{4}$)' -r ''
  • Above doesn’t work with RE2 syntax, use this instead
f2 -f '^.*?_.*?_.*?_' -r ''

'' might not work in Windows, use backslash instead

Exclude Named Files

f2 -R -E '^\d{4}-\d{2}-\d{2}_\d{2}\.\d{2}\.\d{2}_.*$'

Naming Scheme

  • Group by date (e.g. 2000-01-01)
  • Name by date, time, original file name, extension (e.g. 2000-01-01_00.00.00_IMG0001.jpg)
# With directory
f2 -r '{x.cdt.YYYY}-{x.cdt.MM}-{x.cdt.DD}/{x.cdt.YYYY}-{x.cdt.MM}-{x.cdt.DD}_{x.cdt.H}.{x.cdt.mm}.{x.cdt.ss}_{f}{ext}'
# Without directory
f2 -r '{x.cdt.YYYY}-{x.cdt.MM}-{x.cdt.DD}_{x.cdt.H}.{x.cdt.mm}.{x.cdt.ss}_{f}{ext}'
# Without directory and exlucde videos
f2 -r '{x.cdt.YYYY}-{x.cdt.MM}-{x.cdt.DD}_{x.cdt.H}.{x.cdt.mm}.{x.cdt.ss}_{f}{ext}' -E '.*.MP4|.*.XML'
# Videos or files without creation date
f2 -r '{xt.LastUpdate.dt.YYYY}-{xt.LastUpdate.dt.MM}-{xt.LastUpdate.dt.DD}_{xt.LastUpdate.dt.H}.{xt.LastUpdate.dt.mm}.{xt.LastUpdate.dt.ss}_{f}{ext}'
# OR
f2 -r '{mtime.YYYY}-{mtime.MM}-{mtime.DD}_{mtime.H}.{mtime.mm}.{mtime.ss}_{f}{ext}'

Verify

  • List only files and remove empty lines from ls
command ls -pRA1 | grep -v '^$' | grep -v '/' > 'ls.txt'
  • Using tree on UNIX system
    • -d for directory only
tree --charset=ascii > 'tree.txt'
  • Using tree in PowerShell
    • /ffor files
    • /A for ASCII
tree /f /A > 'tree.txt'

Missing Date Rewrite

  1. Move into folder
  2. Edit “date time original”
exiftool -overwrite_original "-datetimeoriginal=yyyy:mm:dd hh:mm:ss" .
  1. Match naming scheme
f2 -f '^.*?_.*?_' -r ''
f2 -r '{x.cdt.YYYY}-{x.cdt.MM}-{x.cdt.DD}_{x.cdt.H}.{x.cdt.mm}.{x.cdt.ss}_{f}{ext}'

Backup

https://superuser.com/questions/1624000/using-rsync-to-quickly-show-only-files-that-have-different-content

Capture One

https://mlgh0sfymt.feishu.cn/sheets/KN1YsLtoQhFcYCtkzGYccivanxe