diff options
author | Andinus <andinus@nand.sh> | 2020-08-27 12:10:47 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-08-27 12:10:47 +0530 |
commit | af6df764967acea0ae55aef34e705007e8d56d1d (patch) | |
tree | 5957744153929a269d2b384d993ae1f8e80d03bf | |
parent | 8f5f24d37ed0b5954ef3f90c9ea1021ad51b8617 (diff) | |
download | leo-af6df764967acea0ae55aef34e705007e8d56d1d.tar.gz |
Add pass to archive list
`pass' will archive `.password-store' directory which holds my passwords.
-rwxr-xr-x | leo.pl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/leo.pl b/leo.pl index cc7047b..1493098 100755 --- a/leo.pl +++ b/leo.pl @@ -98,6 +98,10 @@ sub archive { tar_create("/tmp/archive/ssh_$ymd.tar", "-C", "$ENV{HOME}/.ssh", "."); }, + "pass" => sub { + tar_create("/tmp/archive/pass_$ymd.tar", + "-C", "$ENV{HOME}/.password-store", "."); + }, ); shift @ARGV; @@ -121,6 +125,8 @@ Usage: Archive $ENV{HOME}/documents/andinus.org.gpg, $ENV{HOME}/documents/archive.org.gpg ssh - Archive $ENV{HOME}/.ssh}; + Archive $ENV{HOME}/.ssh + pass + Archive $ENV{HOME}/.password-store}; } } |