about summary refs log tree commit diff stats
path: root/leo.pl
diff options
context:
space:
mode:
Diffstat (limited to 'leo.pl')
-rwxr-xr-xleo.pl8
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};
     }
 }