Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 18 Aug 13:26
c2ec7b2

First release. A single sifter binary with one subcommand.

Added

  • sifter organize <SRC> <DEST> — catalog photos, Live Photos, videos and
    audio recordings from a source folder into a date-structured library
    (default {year}/{month}). Scans, prints a pre-flight report, asks for
    confirmation, shows progress, and finishes with a summary.
  • Capture dates from embedded metadata, in pure Rust — EXIF
    (JPEG/HEIC/TIFF/RAW), video container creation dates (MP4/MOV/3GP/MKV/WebM),
    and audio tags (ID3v2, MP4, Vorbis, RIFF). No exiftool or ffmpeg needed at
    runtime.
  • Filename-pattern fallback — IMG_20230101_120000, PXL_…,
    IMG-20230101-WA0012, Screenshot_…, signal-2023-01-01-12-00-00, Unix
    timestamps, and similar shapes, validated against the calendar.
  • --on-no-date <skip|mtime|unsorted> — undated files are skipped by
    default, or stamped with their filesystem mtime, or collected flat under
    <DEST>/unsorted/.
  • Duplicate-safe by design — a destination file with the same name and
    identical content (size + BLAKE3) is skipped as a duplicate regardless of
    the conflict strategy, so re-running sifter on the same source is a no-op.
  • --on-conflict <skip|rename|overwrite|ask> — same name but different
    content is skipped by default; rename appends _1, _2, …; ask decides
    per file interactively. Nothing is overwritten unless asked for.
  • Live Photo pairing — an IMG_1234.HEIC + IMG_1234.MOV pair is kept
    together: the video inherits the photo's capture date and a conflict rename
    keeps both stems identical.
  • --template — destination layout from tokens {year} {month} {day}
    {year_short} {month_name} {type}.
  • --copy — copy instead of the default move; moves fall back to
    copy-and-delete across filesystems, always via a .part staging file, with
    the source mtime preserved on copies.
  • --dry-run, --yes, -r/--recursive — preview without changes, run
    non-interactively, and opt into scanning subfolders.
  • -v/--verbose[=FILE] — a table of every planned mapping (type, size,
    parsed date, date source, resolution, paths), to stdout or to a log file.

Full Changelog: https://github.com/SelfRef/sifter/commits/v0.1.0