From: Silvio Rhatto Date: Thu, 14 Feb 2013 02:26:34 +0000 (-0200) Subject: Backup command to backup any file on home folder X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d904542d5f78f61922e9f033b9a48cd9e8324a20;p=metadot.git Backup command to backup any file on home folder --- diff --git a/metadot b/metadot index 8d8a4e5..1f39888 100755 --- 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