projects
/
outofuni
/
backup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a29a0d8
)
more logic + small fixes
author
hackbard
<hackbard@hackdaworld.org>
Sat, 3 Oct 2015 09:57:20 +0000
(09:57 +0000)
committer
hackbard
<hackbard@hackdaworld.org>
Sat, 3 Oct 2015 09:57:20 +0000
(09:57 +0000)
bin/backup
patch
|
blob
|
history
diff --git
a/bin/backup
b/bin/backup
index
6b04a56
..
9826687
100755
(executable)
--- a/
bin/backup
+++ b/
bin/backup
@@
-123,8
+123,13
@@
for pb in $backupdir/[0-9]*; do
log backup terminated before completion ...
exit -50
fi
- touch $backupdir/.$pb
- log "backup completed :)"
+
+ touch $backupdir/.`basename $cbd`
+ log "backup `basename $cbd` completed :)"
+ else
+ if [ "$pb" = "$cbd" ]; then
+ log backup $bdd found completed ...
+ fi
fi
ob="$ob $pb"
done