From 6e1fd0497c633b8cf83f0a755ec6d858edc72c08 Mon Sep 17 00:00:00 2001 From: Fazle Arefin <1625934+FazleArefin@users.noreply.github.com> Date: Thu, 8 Jan 2026 14:43:42 +1100 Subject: [PATCH] rsync: update examples (#20584) * rsync: update examples * Update pages/common/rsync.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --------- Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --- pages/common/rsync.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/common/rsync.md b/pages/common/rsync.md index 3e6672c6a4..3377623b06 100644 --- a/pages/common/rsync.md +++ b/pages/common/rsync.md @@ -4,7 +4,7 @@ > To specify a remote path, use `user@host:path/to/file_or_directory`. > More information: . -- Transfer a file: +- Transfer a file (use `--dry-run` to simulate the transfer): `rsync {{path/to/source}} {{path/to/destination}}` @@ -16,9 +16,9 @@ `rsync {{[-zvhP|--compress --verbose --human-readable --partial --progress]}} {{path/to/source}} {{path/to/destination}}` -- Recursively copy directories: +- Recursively copy directories and ensure each file is fully committed to disk rather than remaining in RAM: -`rsync {{[-r|--recursive]}} {{path/to/source}} {{path/to/destination}}` +`rsync {{[-r|--recursive]}} --fsync {{path/to/source}} {{path/to/destination}}` - Transfer directory contents, but not the directory itself: