From 809cb78c28b6492b7a3bbf8c58452ae0100b278f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Sun, 15 Feb 2026 12:47:21 +0000 Subject: [PATCH] modified: README.md --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index be3ae1f..72f6fe6 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ - [CLI Diagnostics and System Topology](#cli-diagnostics-and-system-topology) - [lspci](#lspci) - [sudo](#sudo) + - [rsync](#rsync) ## Distro @@ -381,3 +382,19 @@ ad user to sudo group: ```bash sudo usermod -aG sudo mf ``` + +### 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. + +``` 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 --progress +```