From 1bcc95c59261baed023506ccb259b263e08ed259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Sat, 27 Jun 2026 08:50:20 +0000 Subject: [PATCH] modified: README.md --- README.md | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index afe50bb..15ea717 100644 --- a/README.md +++ b/README.md @@ -425,16 +425,30 @@ sudo usermod -aG sudo ${USERNAME} ### rsync -Rsync is used to efficiently synchronize files by copying only what has changed. It preserves permissions, timestamps, and directory structure (-a), provides readable output (-h), and shows which files are being processed (-v). Identical files are skipped automatically, making repeated syncs fast and incremental. Adding --info=progress2 displays overall transfer progress and speed. +Rsync is used to efficiently synchronize files by copying (locally or remotely using ssh) only what has changed. + +It preserves: + +- Permissions +- Timestamps +- Directory structure (-a) + +Options: + +- readable output (-h) +- shows which files are being processed (-v) +- --info=progress2 displays overall transfer progress and speed. + +Identical files are skipped automatically, making repeated syncs fast and incremental. + +Install (debian/ubuntu): ``` bash apt install rsync ``` ``` bash -rsync -avh source target --progress - # example over ssh # Note: rsync bust be installed both on source and target. -rsync -avh ../test_* user@target-address:/home/user/test --info=progress2 +rsync -avh ./test_* user@target-address:/home/user/tmp --info=progress2 ```