CLI that helps you archive GitHub repositories into a single repository's subdirs
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE
src
.editorconfig
.eslintignore
.eslintrc.js
.gitignore
.prettierrc
.release-it.json
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
LICENSE
README.md
index.js
package.json
yarn.lock

README.md

GitHub Repositories Archiver

🚜 Archive GitHub Repositories within another repository's subdirs

Build Status Version License

github-repositories-archiver is a command line utility that helps you archive GitHub repositories into a single repository's subdirs.

Contents

Get started

The tool requires Node ≥ 8.

npx github-repositories-archiver /tmp/archives
cd /tmp/archives
git push

npx is a tool introduced in npm@5.2.0 that makes it possible to run CLI tools hosted on the npm registry.

Usage

$ github-repositories-archiver --help

Usage: github-repositories-archiver <archive-directory> [options]

Options:
  -v, --version         output the version number
  --dry-run             do not delete nor push repositories
  --only-private        only consider private repositories
  --organization <org>  the organization to restrict to
  --min-months <n>      the minimum number of months since a repository was updated. Others will be hidden from the list
  -h, --help            output usage information

License

GitHub Repositories Archiver is MIT licensed.