renaming-photos

Use when the user wants to rename photo files based on their EXIF shot date. Triggers when user says "rename my photos", "fix photo filenames", "sort photos by date", or invokes /rename-photos.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "renaming-photos" with this command: npx skills add william-yeh/renaming-photos/william-yeh-renaming-photos-renaming-photos

renaming-photos

Rename photo files based on EXIF DateTimeOriginal by running scripts/rename_photos.py (requires uv and exiftool).

Usage

When the user invokes /rename-photos or asks to rename photos by date:

uv run scripts/rename_photos.py [OPTIONS] DIR [DIR ...]

Options:

  • --tz +HH:MM — force timezone offset (e.g. --tz +08:00)
  • --format STR — strftime format string (default: %Y-%m-%d %H.%M.%S)
  • --dry-run — print what would be renamed without doing it

Behavior

  • Recursively traverses each specified directory
  • Supported formats: JPEG, HEIC, CR2, NEF, ARW, DNG, RAF, RW2, ORF, PEF, SRW
  • Skips files with missing or suspicious EXIF dates (warns to stderr)
  • Timezone: user --tz > OffsetTimeOriginal > as-is; adds +HHMM suffix to filename when offset differs from local
  • Conflict resolution: try bare name → append sub-second → append counter

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

canonicalizing-urls

No summary provided by upstream source.

Repository SourceNeeds Review
General

epub-chinese-cleaner

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

agent-skill-linter

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

common-code-reviewer

No summary provided by upstream source.

Repository SourceNeeds Review