projects
/
scripts
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
85c77d1
)
more echo ...
author
hackbard
<hackbard>
Sat, 11 Dec 2004 14:16:22 +0000
(14:16 +0000)
committer
hackbard
<hackbard>
Sat, 11 Dec 2004 14:16:22 +0000
(14:16 +0000)
backup.sh
patch
|
blob
|
history
diff --git
a/backup.sh
b/backup.sh
index
7a36593
..
57cb9e3
100755
(executable)
--- 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
# home of hackbard
mkdir -p ./home/hackbard
- echo
"copying home
"
+ echo
-n "copying home ...
"
for i in temp test; do
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
[ -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
[ -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
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
# tftpboot
if [ -d /tftpboot ] ; then