What's included

bulk_rename.py

Rename every file in a folder using a pattern

Usage previewed

organize_by_extension.py

Sort a messy folder into subfolders by file type

In the pack

CSV ↔ JSON Converter

Offline browser tool — convert either direction

In the pack

Sample: bulk_rename.py

Pattern placeholders let you build the filename you want. {n} is a sequence number, {name} the original name, {ext} the original extension.

# number a folder of photos: vacation_001.jpg, vacation_002.jpg ... python3 bulk_rename.py ./photos "vacation_{n:03d}{ext}" # suffix only the PDFs, leaving everything else alone python3 bulk_rename.py ./docs "{name}_backup{ext}" --ext .pdf # see exactly what would change, without touching a file python3 bulk_rename.py ./photos "img_{n}{ext}" --dry-run

Every script supports --dry-run, so you can always see the full list of planned changes before anything is written.

This is a preview. It shows the usage interface for one of three tools. The pack includes the full commented source for bulk_rename.py and organize_by_extension.py, the offline CSV/JSON converter, and a README — yours to read, modify, and reuse.