sbu

command module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2021 License: MIT Imports: 3 Imported by: 0

README

sbu

SBU is a Simple File Backup CLI tool, which simply moves target files into the specific directory.

Installation

SBU_VERSION=v0.0.2
curl -LO https://github.com/freckie/sbu/releases/download/$SBU_VERSION/release-$SBU_VERSION.tar.gz
tar -xzvf ./release-$SBU_VERSION.tar.gz
mv sbu /usr/local/bin

Usage

Single File
# Backing up a single file
sbu backup sample.yaml

# Restore the file
sbu restore sample.yaml
Muliple Files
# Backing up multiple files
sbu backup sample.yaml json/sample.json #...

# Restore files
sbu restore sample.yaml json/sample.json #...
Directory
# Backing up a directory
sbu backup -r docs/

# Restore the specific directory
sbu restore -r docs/

# Restore all files and directories under this path
sbu restore .

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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