Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
8c92967b
Verified
Commit
8c92967b
authored
Jul 29, 2021
by
Evangelos Foutras
🐱
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
Pipeline
#9985
passed with stage
in 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
roles/syncrepo/files/syncrepo-template.sh
View file @
8c92967b
...
...
@@ -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
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment