Skip to content

mohd-akram/ghget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ghget

A POSIX shell script to download files/directories from GitHub repositories. It uses parallel transfers via curl, with a progress indicator.

Install

Run make install as root to install ghget to /usr/local/bin.

or

Copy ghget to a directory in your PATH.

Usage

ghget [-o path] url

Examples

Get a directory

ghget https://github.com/fivethirtyeight/data/tree/master/airline-safety

Output to custom directory

ghget -o airlines https://github.com/fivethirtyeight/data/tree/master/airline-safety

Get a single file

ghget https://github.com/fivethirtyeight/data/blob/master/index.csv

Output to custom file

ghget -o list.csv https://github.com/fivethirtyeight/data/blob/master/index.csv

Output to stdout

ghget -o - https://github.com/fivethirtyeight/data/blob/master/index.csv

Get an entire repo

ghget https://github.com/fivethirtyeight/data

About

A script to download files/directories from GitHub.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published