Files
arrange/go.sum
T
smandClaude Opus 5.5 6d971118b7 safer moves, verify, dry run, heic/raw and video dates
Safety:
- clean no longer deletes a dated file whose content is missing from the
  store. os.SameFile(nil, ...) returned false, so clean removed the file
  and then failed to relink it. MissingLink now reports and skips those
  files, and Relink swaps the link in with link+rename, so the path
  exists the whole time.
- Move writes the content file under a temporary name, checks it
  against the hash, fsyncs it, and links it into place. An interrupted
  run can no longer leave a truncated file that later runs treat as a
  dup.
- The crawl logs and skips unreadable paths instead of stopping, and it
  ignores AppleDouble ._ files and QNAP .@__thumb directories.

Features:
- sha256 content addresses by default; -hash=md5 adds to older stores.
- am verify rehashes the store and reports corrupt, orphaned, and stale
  temp files. It only reads.
- -n dry run for arr and clean prints the plan as TSV and changes
  nothing.
- arr ends with a summary of counts and sizes by extension and year,
  with no file names.
- heic/heif/avif, tiff, dng, cr2/cr3, nef, and arw are dated by exif via
  imagemeta, with goexif kept as the jpeg fallback. Exif times without
  an offset are read as local time, as before.
- mov/mp4/m4v/3gp are dated from the moov/mvhd creation time. mkv, mts,
  webm, and friends are now included and dated by mtime.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 15:57:19 -07:00

11 lines
913 B
Plaintext

github.com/evanoberholster/imagemeta v1.1.0 h1:0iBtgVxLORZTZAlKxRcNodBmjMfHCSFwUh8Asmi83oI=
github.com/evanoberholster/imagemeta v1.1.0/go.mod h1:nmf6le+qSyoRAXgp2psPbtfkxcEgf/AZGgai9pnN8d0=
github.com/philhofer/fwd v1.2.0 h1:e6DnBTl7vGY+Gz322/ASL4Gyp1FspeMvx1RNDoToZuM=
github.com/philhofer/fwd v1.2.0/go.mod h1:RqIHx9QI14HlwKwm98g9Re5prTQ6LdeRQn+gXJFxsJM=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd h1:CmH9+J6ZSsIjUK3dcGsnCnO41eRBOnY12zwkn5qVwgc=
github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd/go.mod h1:hPqNNc0+uJM6H+SuU8sEs5K5IQeKccPqeSjfgcKGgPk=
github.com/tinylib/msgp v1.6.3 h1:bCSxiTz386UTgyT1i0MSCvdbWjVW+8sG3PjkGsZQt4s=
github.com/tinylib/msgp v1.6.3/go.mod h1:RSp0LW9oSxFut3KzESt5Voq4GVWyS+PSulT77roAqEA=