0.0.5 • Published 8 years ago

backup2github v0.0.5

Weekly downloads
8
License
-
Repository
github
Last release
8 years ago

Install

npm install -g backup2github

Requirements

  • GNU tar. OS X: brew install gtar
  • ~/.githubtoken required to create github repo

Features

  • ~/.gitignore support
  • create github repo with name Year-Month_Hour-Minute.backup
  • rm temp files after pushing to github
  • open github page after pushing (OS X)

Usage

usage: backup2github owner path ...

Example

# create organization github.com/username-backup
$ username="$(git config user.name)"
$ owner="$username"-backup

$ backup2github "$owner" ~/git

# more complicated example
$ unset IFS;find="$(find ~/git -type d -mindepth 1 -maxdepth 1)"
$ set -- $find
$ backup2github "$owner" "$@"

Examples/

Feedback GitHub issues Join the chat at https://gitter.im/russianidiot/backup2github.sh.cli GitHub followers