Skip to content

Instantly share code, notes, and snippets.

@kstarzyk
kstarzyk / clone_em_all.sh
Last active Apr 22, 2017
Clone all user repositories from github [one-liner]
View clone_em_all.sh
curl https://api.github.com/users/<GITHUB_LOGIN>/repos | grep "clone" | grep -oE "https:(.*).git" | xargs -l bash -c 'git clone $0'