A simple tool to manage backups of single folders.
Usage: backupper [options] [path]
Manages simple backups of a folder.
With no path, it will be archived the current working directory.
Options:
-c, --create Creates an archive of the desired directory, inside the directory.
-x, --extract Extract the content of the archive in the directory.
-d, --delete Deletes the archive of the current directory.
-h, --help Shows this help. The installation process installs the program as a copy of the script in /usr/local/bin.
Clone this repository:
git clone https://github.com/alessandrogilli/backupper.gitEnter the project directory:
cd backupperRun the install script as root:
sudo sh ./install.shRun the program:
backupperIf you prefer to install the program without root permissions, the installation process will copy the script in a new "script" directory inside your ~/.local folder. It also auto updates .bashrc and .zshrc files with the new $PATH variable.
Run the install script:
sh ./install.shOpen a new shell or type:
source ~/.bashrcor, if you are using zsh:
source ~/.zshrcFinally, you can find backupper installed, typing:
backupper