summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-10-23 23:10:23 +0200
committertv <tv@krebsco.de>2016-10-23 23:10:23 +0200
commit136398190996cfd7b65be5eb283a19f1bcc1de92 (patch)
treee93e56cd406c0b997e3c9ae30f6951315df785e0 /lib
parentf95e0d6aefd869d7c5e15032e72d5365499cd436 (diff)
rsync --delete-excluded
Diffstat (limited to 'lib')
-rw-r--r--lib/populate.jq2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/populate.jq b/lib/populate.jq
index fa13795..e7e02d3 100644
--- a/lib/populate.jq
+++ b/lib/populate.jq
@@ -88,7 +88,7 @@ def rsync_script:
@sh " -b \(.value.file.path):\"$srcdir\"/\(.key) \\"),
@sh " rsync \\",
@sh " -vFrlptD \\",
- @sh " --delete \\",
+ @sh " --delete-excluded \\",
@sh " -f \("P /*", ($rsync_sources[] | "R /\(.key)")) \\",
@sh " \"$srcdir\"/ \\",
(if $is_local then