Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 677 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 677 Bytes

Save2Git

Bash script to save a folder into git repository.

Installation

curl -s https://raw.githubusercontent.com/babeuloula/save2git/master/install.sh | sudo bash

How to use

First you need to init your repository:

save2git --mode init --path /path/to/save

Then, you need to push all data to your repository:

save2git --mode push --path /path/to/save

You can easily setting up a CRON task to sync your repository automatically.

0 0 * * * save2git --mode push --path /path/to/save 2>&1

Uninstallation

curl -s https://raw.githubusercontent.com/babeuloula/save2git/master/uninstall.sh | sudo bash