diff --git a/manual/config/layer4/index.md b/manual/config/layer4/index.md index 07b6c52..3f0512f 100644 --- a/manual/config/layer4/index.md +++ b/manual/config/layer4/index.md @@ -61,82 +61,101 @@ sync { Below is a table of options for the ```rsync``` parameter. Please have a look at the Rsync documentation for an in depth explanation. - + + @@ -149,12 +168,14 @@ Below is a table of options for the ```rsync``` parameter. Please have a look at @@ -162,101 +183,118 @@ Below is a table of options for the ```rsync``` parameter. Please have a look at @@ -264,71 +302,83 @@ Below is a table of options for the ```rsync``` parameter. Please have a look at @@ -495,7 +545,7 @@ sync { default.rsync, source = "/home/user/src/", targetdir = "/home/user/dst/", - exclude = { '.bak' , '.tmp' } + exclude = { '*.bak' , '*.tmp' } } {% endhighlight %}
parameter + = + TYPE + default value + comment +
acls = BOOL + false
append = BOOL + false (Lsyncd >= 2.2.0)
append-verify = BOOL + false (Lsyncd >= 2.2.0)
archive = BOOL + false
backup = BOOL + false (Lsyncd >= 2.2.0)
backup_dir = DIR + false (Lsyncd >= 2.2.0)
binary = FILENAME - Lsyncd calls this binary as rsync (default: /usr/bin/rsync) + "/usr/bin/rsync" + Lsyncd calls this binary as rsync
checksum = BOOL + false
chmod = STRING + (Lsyncd >= 2.2.0)
chown = USER:GROUP + (Lsyncd >= 2.2.0)
compress = BOOL + false
copy_dirlinks = BOOL + false (Lsyncd >= 2.2.0)
copy_links = BOOL + false
dry_run = BOOL + false
exclude = PATTERN + TABLE of PATTERNs also allowed
= FILENAME +
executability = BOOL + false
existing = BOOL + false (Lsyncd >= 2.2.0)
groupmap = STRING + (Lsyncd >= 2.2.0)
hard_links = BOOL + false
ignore_times = BOOL + false
inplace = BOOL + false (Lsyncd >= 2.1.6)
ipv4 = BOOL + false
ipv6 = BOOL + false
links = BOOL - (set by Lsyncd by default) + true +
one_file_system = BOOL + false
owner = BOOL + false
password_file = FILENAME + (Lsyncd >= 2.1.2)
perms = BOOL + false
protect_args = BOOL - (set by Lsyncd by default) + true +
prune_empty_dirs = BOOL + false
quiet = BOOL + false
= COMMAND +
rsync_path = PATH + (path to rsync on remote host)
sparse = BOOL + false
suffix = SUFFIX + (Lsyncd >= 2.2.0)
temp_dir = DIR +
times = BOOL - (set by Lsyncd by default) + true +
update = BOOL + false
usermap = STRING + (Lsyncd >= 2.2.0)
verbose = BOOL + false
whole_file = BOOL + false
xattrs = BOOL + false
_extra = TABLE of STRINGS. + If absolutely needed, additional arguments can be specified as a TABLE of STRINGS(example: { "--omit-dir-times", "--omit-link-times" }). Note that the underscore highlights this as workaround. If you need something that is not covered by the above options, please request it via a feature request on the project website. Most notably, do not add -r for recursive or -a which implies recursive, since Lsyncd will handle that by itself. Additionally do not add -R for relative, which will ruin Lsyncd <-> Rsync communication.