From af6df764967acea0ae55aef34e705007e8d56d1d Mon Sep 17 00:00:00 2001 From: Andinus Date: Thu, 27 Aug 2020 12:10:47 +0530 Subject: Add pass to archive list `pass' will archive `.password-store' directory which holds my passwords. --- leo.pl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'leo.pl') 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}; } } -- cgit 1.4.1-2-gfad0