github-repositories-archiver

1.0.0Β β€’Β PublicΒ β€’Β Published

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
# or
npm install -g github-repositories-archiver
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
  --login               force login to happen again
  --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.

/github-repositories-archiver/

    Package Sidebar

    Install

    npm i github-repositories-archiver

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    15.7 kB

    Total Files

    9

    Last publish

    Collaborators

    • redox