iamnewton / clone-all

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

Home Page:https://iamnewton.github.io/clone-all/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://iamnewton.github.io/clone-all/

License:GNU General Public License v3.0


Languages

Language:Shell 86.1%Language:Roff 13.9%