Skip to content

Instantly share code, notes, and snippets.

@baileythegreen
Last active March 11, 2022 14:43
Show Gist options
  • Save baileythegreen/df61c39b39c5f04772a39af2968a118a to your computer and use it in GitHub Desktop.
Save baileythegreen/df61c39b39c5f04772a39af2968a118a to your computer and use it in GitHub Desktop.
Trying to download a ton of files attached to a github issue
for file in $(curl https://github.com/widdowquinn/pyani/issues/371 | \
grep --colour=never -o '"https://github.com/widdowquinn/pyani/files/.*"' | \
tr -d '"'); do
curl -0L $file > ${file##*/};
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment