Skip to content

Instantly share code, notes, and snippets.

@Sotilrac
Sotilrac / gource-multi-repo.sh
Last active November 4, 2022 19:05 — forked from derEremit/gource-multiple-repositories.sh
Generates gource video out of multiple repositories. Uses avconv to export the video file.
#!/usr/bin/env bash
# Generates gource video (h.264) out of multiple repositories.
# Pass the repositories in command line arguments.
# Example:
# <this.sh> /path/to/repo1 /path/to/repo2
# Or use ls -d * to list all folders in a location
# <this.sh> `ls -d *`
RESOLUTION="1920x1080" # HD
# RESOLUTION="2560x1440" # QHD