Skip to content

Bash script to save a folder into git repository.

License

Notifications You must be signed in to change notification settings

babeuloula/save2git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Bash script to save a folder into git repository.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages