Skip to content
Snippets Groups Projects
Verified Commit 8c92967b authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

syncrepo-template: Add note about .~tmp~ workaround

The workaround can be skipped/removed when using rsync newer than 3.2.3.
parent 5704356c
No related branches found
No related tags found
1 merge request!471syncrepo tweaks now that rsync has fixed the stale .~tmp~ issue
Pipeline #9985 passed
......@@ -63,6 +63,8 @@ exec 9>"${lock}"
flock -n 9 || exit
# Cleanup any temporary files from old run that might remain.
# Note: You can skip this if you have rsync newer than 3.2.3
# not affected by https://github.com/WayneD/rsync/issues/192
find "${target}" -name '.~tmp~' -exec rm -r {} +
rsync_cmd() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment