# andrewning/sortphotos

SortPhotos is a Python script that organizes photos and videos into folders using date/time information

Repository: https://github.com/andrewning/sortphotos
Canonical: https://ross.abutalabs.com/products/sortphotos
Language: Perl
License: MIT
License Family: permissive
Last push: 2026-03-06T21:30:39+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 70, release rhythm 35, longevity 100
- inputs: {"age_days": 4928, "days_push": 180, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1104, forks 316 (observed 2026-08-28T04:03:36.316951+00:00)

## What it is
SortPhotos is a Python CLI tool that organizes photos and videos into date-based folder hierarchies using EXIF and other metadata via the bundled ExifTool. It supports copying or moving files, recursive search, dry runs, custom strftime-based folder structures, and automatic file renaming.

## Use cases
- organize a messy folder of photos into year/month folders
- sort camera dumps by date taken using EXIF metadata
- rename photos based on their capture date and time
- dry run a photo reorganization before moving files
- recursively sort videos and images from nested directories
- build a custom folder hierarchy like year/week/day for a photo library

## When to choose
- you want a simple command-line tool to sort photos and videos by date metadata
- your files have EXIF or other date metadata and you want customizable folder layouts
- you need dry-run, copy-vs-move, and renaming options in one script

## When to avoid
- your files lack any date metadata and you need content-based deduplication or tagging
- you want a GUI photo manager with editing or gallery features
- you need face recognition or cloud-sync photo management

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, file-system, image-processing
- domain: files, photography
- platform: python, cli, cross-platform
- tags: exif, photo-organization, exiftool, file-management, date-based-sorting, command-line, automation

## Member repositories
- andrewning/sortphotos (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:36.316951+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:45:27.456012+00:00, confidence not recorded.
  - readme: https://github.com/andrewning/sortphotos (fetched 2026-08-28T04:03:36.316951+00:00, sha 102a10012f7e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
