From: hackbard Date: Sat, 11 Dec 2004 14:16:22 +0000 (+0000) Subject: more echo ... X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=c3711e092b0b5bed6b27a439dd5a80c1ac89c52c;p=scripts%2Fscripts.git more echo ... --- diff --git a/backup.sh b/backup.sh index 7a36593..57cb9e3 100755 --- a/backup.sh +++ b/backup.sh @@ -189,14 +189,16 @@ if [ "$host" = "hackstation" -o "$host" = "mobile" -o "$host" = "hdw" -o "$host" # home of hackbard mkdir -p ./home/hackbard - echo "copying home" + echo -n "copying home ..." for i in temp test; do + echo -n " $i," [ -d /home/hackbard/$i ] && \ cp -r /home/hackbard/$i ./home/hackbard done for i in xinitrc_evil xinitrc_wm .xinitrc GNUstep .Xauthority \ .Xdefaults .XHkeys .signature .directfbrc .bashrc \ sp12 .licq .irssi; do + echo -n " $i," [ -e /home/hackbard/$i ] && \ cp -r /home/hackbard/$i ./home/hackbard done @@ -204,6 +206,7 @@ if [ "$host" = "hackstation" -o "$host" = "mobile" -o "$host" = "hdw" -o "$host" cp /home/hackbard/.mozilla/*/*/bookmarks.html \ mozilla-bookmarks.html [ -d /home/hackbard/.ssh ] && cp -r /home/hackbard/.ssh ./home/hackbard + echo " done." # tftpboot if [ -d /tftpboot ] ; then