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:
James Antill
2025-10-16 14:23:14 -04:00
parent dc4beb8903
commit e9082f4fb2

View File

@@ -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/