giback

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2024 License: GPL-2.0 Imports: 4 Imported by: 0

README

Giback - Backup your files to Git

Build Status Go Report Card

Giback is a command-line utility for easily backing up your files to git repositories. After setting up a configuration file listing your desired files, and the respective target repository, you can then at any time command giback to backup your files.

$ giback all
Running unit 'my_backup'.
Pulling git changes.
Identifying files...
/home/my_user/Documents/personal_notes.txt
/home/my_user/Documents/work.org
/home/my_user/photos/trip.jpg
Files copied.
Committing: Backing up with Giback!
Pushing...
Done!

Resources

Installation from source

The only requirement to compile is to have Go installed.

git clone git@github.com:dhuan/giback.git

cd giback

make build

Once compilation has finished successfully, a giback executable should then be available at the current dir.

Known Issues

  • Only has been tested in Linux. Probably will not work in Windows.
  • Works only with files. Backing up directories still not supported.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
app
cmd
git

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL