A collection of photography utility scripts
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-24 22:31:00 -06:00
.gitignore Added a readme. 2026-09-12 02:15:17 -06:00
archive.sh Cleaned up some documentation 2026-09-13 23:37:50 -06:00
finalize.sh Merge remote-tracking branch 'origin' 2026-09-15 18:38:03 -06:00
LICENSE Adds an MIT license 2026-11-24 22:31:00 -06:00
magick_watermark.sh Cleaned up some documentation 2026-09-13 23:37:50 -06:00
Readme.md Prepares the repostiroy for public release 2026-11-24 22:27:22 -06:00
sort_and_rename.sh Cleaned up some documentation 2026-09-13 23:37:50 -06:00

Description

This repository contains a number of simple zsh scripts to handle bulk and repetitive actions in photography on a mac. It provides, essentially, 4 scripts with nice user experiences. Additionally, it provides a wrapper script that groups similar scripts.

Scripts

1: make_filmroll.sh

This script provides a simple interface for creating a specific folder structure that is useful for photography, and tagged with (at minimum) "Film Roll" (via MacOSx "tags").

2: sort_and_rename.sh

This script does two basic things. First, it provides an opportunity to modify the Author in the EXIF metadata of a provided directory of folders via exiftool. Then, it sequentially sorts and renames image files by capture time.

3: magick_watermark.sh

This script applies a watermark (via a .png) to a directory of images via imagemagick.

4: finalize.sh

This script executes sort_and_rename.sh and magick_watermark.sh sequentially, sanitizing output and cleaning any resulting artifacts. Further notifies the user via terminal-notifier.

5: archive.sh

This script is simply a wrapper to rsync that provides some environment variable capabilities to the typical rsync workflow. See the script's help for more.

TODO

  • Image importing via make_filmroll.sh.
  • Direct executable TUI for full workflow.
  • Client image upload & notification script (via resend?).
  • Filmroll "discovery?"

Environment Variables

The provided scripts will attempt to load a .env file from the current working directory to obtain the following environment variables:

  • RSYNC_PATH: The rsync compatible path to sync files too (via archive.sh). I.e, user@host:path/to/result
  • AUTHOR_NAME: Sets the metadata author name (IPTC:ByLine) in sort_and_rename.sh.

Common Dependencies:

Note: each script attempts to resolve its own dependencies via brew