diff options
| author | Silvio Rhatto <rhatto@riseup.net> | 2013-02-14 00:26:34 -0200 |
|---|---|---|
| committer | Silvio Rhatto <rhatto@riseup.net> | 2013-02-14 00:26:34 -0200 |
| commit | d904542d5f78f61922e9f033b9a48cd9e8324a20 (patch) | |
| tree | 07a27676e6d1eb19f73c3c8837e30f6276b71123 | |
| parent | 1ae1bbed908095cd544a19040b580554f23dab3d (diff) | |
| download | metadot-d904542d5f78f61922e9f033b9a48cd9e8324a20.tar.gz metadot-d904542d5f78f61922e9f033b9a48cd9e8324a20.tar.bz2 | |
Backup command to backup any file on home folder
| -rwxr-xr-x | metadot | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |
