aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-14 00:26:34 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-14 00:26:34 -0200
commitd904542d5f78f61922e9f033b9a48cd9e8324a20 (patch)
tree07a27676e6d1eb19f73c3c8837e30f6276b71123
parent1ae1bbed908095cd544a19040b580554f23dab3d (diff)
downloaddotfiles-d904542d5f78f61922e9f033b9a48cd9e8324a20.tar.gz
dotfiles-d904542d5f78f61922e9f033b9a48cd9e8324a20.tar.bz2
Backup command to backup any file on home folder
-rwxr-xr-xmetadot3
1 files changed, 3 insertions, 0 deletions
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