Skip to content

Clones every repository or gist from a Github user, optionally to a specified directory

License

Notifications You must be signed in to change notification settings

iamnewton/clone-all

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clone-all(1)

Clones every repository or gist from a Github user, optionally to a specified directory.

clone-all(1) is perfect to help you set up a new computer, back up your Github account, or if you just want to grab all of a users public repositories. It also goes great with an OS X setup script or dotfiles setup.

Requirements

How to install

clone-all(1) is a shell script, so installation is simple. Download, extract and copy the script in the bin directory over to the /usr/local/bin directory and make sure it's in your $PATH. The man page, man clone-all, can be installed by copying over the clone-all.1 file to /usr/share/man/man1.

One-line installation

$ bash -c "$(curl -fsSL raw.github.com/iamnewton/clone-all/go/install)"

N.B. - using the one-line installation will download and install all of the dependencies, including the man page.

Usage

$ clone-all [options] <github_username> [<path>]

Options

Flag Meaning
-h, --help Print out help text
-f, --feed <value> <value> can be either gists or repos, default is repos
-v, --version Print out version

N.B. - Default <path> is $HOME/Downloads.

Acknowledgements

Inspiration and code was taken from many sources, but mostly from StackOverflow:

About

Clones every repository or gist from a Github user, optionally to a specified directory

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published