mirror of
https://github.com/DictXiong/dxsync.git
synced 2024-11-24 12:51:31 +08:00
bug fix (Fri May 12 15:38:04 CST 2023)
This commit is contained in:
parent
2bf281fe8e
commit
a4500ddc73
3
config
3
config
|
@ -1 +1,2 @@
|
||||||
ubuntu-releases rsync://mirrors4.tuna.tsinghua.edu.cn/ubuntu-releases /tmp/mirrors/ubuntu-releases
|
putty rsync://mirrors4.tuna.tsinghua.edu.cn/putty /tmp/putty
|
||||||
|
github-raw rsync://mirrors4.tuna.tsinghua.edu.cn/github-raw /tmp/github-raw
|
||||||
|
|
4
sync.sh
4
sync.sh
|
@ -40,8 +40,8 @@ do_sync() {
|
||||||
then
|
then
|
||||||
touch "$lock_file"
|
touch "$lock_file"
|
||||||
presync "$name"
|
presync "$name"
|
||||||
echo rsync -4avzthP --stats --delete --bwlimit=6000 "$src" "$dst"
|
rsync -avzthP --stats --delete --bwlimit=6000 "$src" "$dst"
|
||||||
postsync "$name" $?
|
postsync "$name" $? "$dst"
|
||||||
rm "$lock_file"
|
rm "$lock_file"
|
||||||
else
|
else
|
||||||
locked "$name"
|
locked "$name"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user