Skip to content

Instantly share code, notes, and snippets.

@hanksudo
Created September 15, 2022 02:55
Embed
What would you like to do?
Download all public gists with gh command line
#!/bin/sh
gh api gists | jq -r '.[] | select(.public == true) | .files[].raw_url' | while read -r row ; do
curl -sO "$row"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment