scripts

shell scripts
git clone git://git.bitsmanent.org/scripts
Log | Files | Refs | README

commit 9b976a32319a4a57c19238162a9482b64dabc397
parent 84f9798fa2a6c7597ffd44c9ea4e21a07d9ba865
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Thu, 25 May 2017 21:38:10 +0200

[mkbkp] Add sunames (copy as root).

Diffstat:
Msrc/mkbkp | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/mkbkp b/src/mkbkp @@ -8,6 +8,7 @@ # enabled supports SUPPORT=" bkp_names +bkp_sunames bkp_gitrepos " @@ -20,6 +21,11 @@ bkp_names() { mexec "$NAMES" "cp -rf %s ." } +bkp_sunames() { + setdir "sunames" + mexec "$SUNAMES" "sudo cp -rf %s ." +} + bkp_gitrepos() { setdir "gitrepos" mexec "$GITREPOS" "git clone %s"