Skip to content

Instantly share code, notes, and snippets.

@kyeotic
Last active April 14, 2026 18:25
Show Gist options
  • Select an option

  • Save kyeotic/f7e1254cfe712b3e028b6cb88adfe60f to your computer and use it in GitHub Desktop.

Select an option

Save kyeotic/f7e1254cfe712b3e028b6cb88adfe60f to your computer and use it in GitHub Desktop.
Clone Active Repos
#!/usr/bin/env bash
set -e
# Usage
# bash <(curl -s https://gist.githubusercontent.com/kyeotic/f7e1254cfe712b3e028b6cb88adfe60f/raw/clone-active.sh)
DEST="${1:-$HOME/dev}"
mkdir -p "$DEST"
repos=(
git@github.com:kyeotic/accomplice.git
git@github.com:kyeotic/acquaint.git
git@github.com:kyeotic/blog.git
git@github.com:kyeotic/canopy.git
git@github.com:kyeotic/chess2.git
git@github.com:kyeotic/crank.git
git@github.com:kyeotic/flowchart.git
git@github.com:kyeotic/foodie.git
git@github.com:kyeotic/full-stack-template.git
git@github.com:kyeotic/homelab.git
git@github.com:kyeotic/launch.git
git@github.com:kyeotic/lesswrong.git
git@github.com:kyeotic/portfolio.git
git@github.com:kyeotic/poster.git
git@github.com:kyeotic/raviger.git
git@github.com:kyeotic/shovel.git
git@github.com:kyeotic/smashdown.git
git@github.com:kyeotic/snow-tracker.git
git@github.com:kyeotic/spa-template.git
git@github.com:kyeotic/spoons.git
git@github.com:kyeotic/ssh-keys.git
git@github.com:kyeotic/stack-sync.git
git@github.com:kyeotic/vault-sync.git
)
for repo in "${repos[@]}"; do
name=$(basename "$repo" .git)
target="$DEST/$name"
if [ -d "$target" ]; then
echo "SKIP: $name already exists"
else
echo "Cloning $name..."
git clone "$repo" "$target"
fi
done
echo "Done."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment