Add default rsync options list
This commit is contained in:
parent
2b464b45f7
commit
c51f8e3402
@ -9,6 +9,18 @@ import subprocess
|
|||||||
|
|
||||||
# ========== Constants ==========
|
# ========== Constants ==========
|
||||||
_RSYNC_BIN = "/usr/bin/rsync"
|
_RSYNC_BIN = "/usr/bin/rsync"
|
||||||
|
DEFAULT_RSYNC_OPTS = [
|
||||||
|
"--acls",
|
||||||
|
"--archive",
|
||||||
|
"--backup",
|
||||||
|
"--backup-dir=backup",
|
||||||
|
"--hard-links",
|
||||||
|
"--ignore-missing-args",
|
||||||
|
"--prune-empty-dirs",
|
||||||
|
"--suffix=.old",
|
||||||
|
"--recursive",
|
||||||
|
"--xattrs",
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
# ========== Logging Setup ===========
|
# ========== Logging Setup ===========
|
||||||
|
Loading…
x
Reference in New Issue
Block a user