This commit is contained in:
Axel Kittenberger 2010-11-14 16:03:47 +00:00
parent 3764ef39bb
commit 57778a3594
2 changed files with 4 additions and 5 deletions

View File

@ -21,12 +21,11 @@ prefix = ""
-- for testing purposes. uses bash command to hold local dirs in sync.
--
bash = {
delay = 5,
maxProcesses = 3,
onStartup =
[[if [ "$(ls -A $1)" ]; then cp -r ^source* ^target; fi]],
[[if [ "$(ls -A ^source)" ]; then cp -r ^source* ^target; fi]],
onCreate = prefix..[[cp -r ^sourcePathname ^targetPathname]],
@ -37,5 +36,5 @@ bash = {
onMove = prefix..[[mv ^o.targetPathname ^d.targetPathname]],
}
sync{bash, source="src", target="dst/"}
sync{bash, source="src", target="trg/"}

View File

@ -1359,7 +1359,7 @@ local Syncs = (function()
'collapse',
'collapseTable',
'collect',
'init',
'init',
'maxDelays',
'maxProcesses',
}
@ -2521,7 +2521,7 @@ local default_rsyncssh = {
maxProcesses = 10,
-----
-- Default delay 3 seconds
-- Default delay.
--
delay = 10,
}