mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
docs-rsync.stg: A workaround for the mtime/hardlink disk space usage.
Signed-off-by: James Antill <james@and.org>
This commit is contained in:
@@ -13,7 +13,15 @@
|
||||
|
||||
# BUT see https://pagure.io/fedora-infrastructure/issue/12848
|
||||
|
||||
rsync_cmd="rsync --timeout 300 -aH --delete --delete-after --delete-excluded"
|
||||
# -a is the std. copy everything "archive" mode.
|
||||
# -H means try to copy hardlinks as hardlinks
|
||||
# --no-times --checksum means that if the file changes mtime we still keep
|
||||
# the old file (and thus. the old hardlink).
|
||||
rsync_cmd="rsync -aH \
|
||||
--no-times --checksum \
|
||||
--timeout 300 \
|
||||
--delete --delete-after --delete-excluded"
|
||||
|
||||
old=sundries01::docs/
|
||||
new=sundries01::docs-redirects/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user