Script to set media folder covers on macOS because I was tired of boring old folder icons for my movie folders. For each immediate subdirectory, applies poster.jpg as the directory icon.
Looks great in cover flow!
- macOS
- Python 3
# ImageMagick
brew install imagemagick
# pyobjc (recommended in a local virtual environment)
python3 -m venv .venv
source .venv/bin/activate
python -m pip install pyobjc
Notes:
- The script prefers
.venv/bin/pythonwhen available. - If
magickis available (ImageMagick v7), it will be used automatically. - Otherwise it falls back to legacy
identify/convertcommands.
./setCovers [-f] <path to media folder>
-f flag overwrites any previously set icon

