<sigh> paths
why do I touch these things, ever?
This commit is contained in:
parent
3cd41e59a3
commit
bb1b58c20b
1 changed files with 4 additions and 2 deletions
|
@ -38,11 +38,13 @@ then
|
|||
quit "$0 source dest"
|
||||
fi
|
||||
|
||||
newlock $1
|
||||
lockname=`basename $1`
|
||||
newlock $lockname
|
||||
if [ ! -d $2 ]
|
||||
then
|
||||
mkdir $2
|
||||
fi
|
||||
/usr/bin/rsync -a $HOST::$1/* $2
|
||||
cleanlock $1
|
||||
cleanlock $lockname
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue