]> gitweb.fluxo.info Git - metadot.git/commitdiff
Backup command to backup any file on home folder
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 14 Feb 2013 02:26:34 +0000 (00:26 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 14 Feb 2013 02:26:34 +0000 (00:26 -0200)
metadot

diff --git a/metadot b/metadot
index 8d8a4e5da5e1510517dc45577fd70aa763f2bf3c..1f39888da52b2b26bfe61e23efce53319bc730e7 100755 (executable)
--- a/metadot
+++ b/metadot
@@ -79,6 +79,9 @@ elif [ "$OPT" == "ls" ]; then
   ls -1 $MODULES
 elif [ "$OPT" == "update" ]; then
   ( cd $DOT && git pull origin master && git submodule update --init )
+elif [ "$OPT" == "backup" ]; then
+  shift
+  metadot_backup $1
 elif [ "$OPT" == "load" ]; then
   shift