Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eriknyquist/github-backup
Shell utility for making local backups of github user accounts and organizations
https://github.com/eriknyquist/github-backup
backup github github-api pure-python utility
Last synced: about 1 month ago
JSON representation
Shell utility for making local backups of github user accounts and organizations
- Host: GitHub
- URL: https://github.com/eriknyquist/github-backup
- Owner: eriknyquist
- License: apache-2.0
- Created: 2018-08-05T05:25:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-12T05:13:03.000Z (over 6 years ago)
- Last Synced: 2024-11-12T07:38:05.144Z (3 months ago)
- Topics: backup, github, github-api, pure-python, utility
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Github backup utility
---------------------A simple pure-python script to back up all repositories on a Github org. or
user account. Works on Python 2x and 3x.Install
=======Clone this repository and run the ``install.sh`` script
::
git clone https://github.com/eriknyquist/github-backup
cd github-backup
sudo ./install.shUsage
=====Run ``github-backup -h`` to see all available options.
Clone all repositories from the specified user account:
::
github-backup username
Clone all repositories from the specified organization:
::
github-backup orgname -o
Clone only source repositories
::
github-backup username -t source
Clone only forked repositories
::
github-backup username -t fork
Clone all repositories (default)
::
github-backup username -t all
Clone only source repositories and create a .zip archive
::
github-backup username -t source -c
Clone all repositories and create .zip archive in specific directory (/home/erik):
::
github-backup username -d /home/erik -c
Clone all repositories and create .zip archive with specific name (archive.zip)
in specific directory (/home/erik):::
github-backup username -d /home/erik -f archive.zip -c
Authentication
==============Enter username/password interactively (hides password on the console):
::
github-backup username -a
Enter username/password as command line arguments:
::
github-backup username -u -p