modified: README.md

This commit is contained in:
Márcio Fernandes
2026-06-27 08:50:20 +00:00
parent d31568b7a0
commit 1bcc95c592
+18 -4
View File
@@ -425,16 +425,30 @@ sudo usermod -aG sudo ${USERNAME}
### rsync ### 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 ``` bash
apt install rsync apt install rsync
``` ```
``` bash ``` bash
rsync -avh source target --progress
# example over ssh # example over ssh
# Note: rsync bust be installed both on source and target. # 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
``` ```