Thanks to visit codestin.com
Credit goes to github.com

Skip to content

sbstp/vault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vault

Easily track and backup configuration files.

Add files

$ vault add ~/.config/Code/User/settings.json # vscode settings
$ vault add /etc/fstab # mounts

List files

$ vault ls
/etc/fstab
/home/simon/.config/Code/User/settings.json

Backup files

$ vault backup laptop-backup.tar.gz

Restore files

$ vault restore laptop-backup.tar.gz

Usage

Usage: vault <command>

Commands:
  add      <path> [<path> ...]  Add files to the index.
  rm       <path> [<path> ...]  Remove files from the index.
  ls                            List files in the index.
  backup   <archive>            Backup files to an archive.
  restore  <archive>            Restores files from an archive.
  inspect  <archive>            List files, owner and mode information for an archive.
  extract  <archive> <dir>      Extract the contents of the archive to a directory.
  help     [<command>]          Display help about a command.

Options:
  --user=USERNAME  Use this user's vault

Common settings paths

GNOME settings

~/.config/dconf/user

GNOME extensions

~/.local/share/gnome-shell/extensions

APT sources

/etc/apt/sources.list
/etc/apt/sources.list.d

Visual Studio Code settings

~/.config/Code/User/settings.json

Quick install

sudo wget https://raw.githubusercontent.com/sbstp/vault/master/vault -O /usr/local/bin/vault && sudo chmod +x /usr/local/bin/vault

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published