Skip to content

A script used to download public gists for a given GitHub user

License

Notifications You must be signed in to change notification settings

meandnano/gistload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gistload

A script used to download public gists of a given GitHub user

Usage

gistload.sh <github-username> <dir>

All files for all the user's gists will be downloaded into the specified directory. Downloaded file name will include the original file name plus a portion of sha256 sum of its url in the form of: <4bytes-of-hash>_<originalname>, for instance shah_originalFile.txt

In case target dir exists, is a git repo and contains unstaged changes, downloading will be aborted.

Requirements

  • bash 4+
  • jq
  • curl
  • (optional) git

About

A script used to download public gists for a given GitHub user

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages