Online Linux Terminal Logo
OnlineLinuxTerminal
Netzwerk & ÜbertragungCLI Manual

$rsync

Fast and versatile remote and local file-copying and synchronization tool.

BefehlssyntaxPOSIX Standard
rsync [OPTIONS] SOURCE... DEST
Linux-Community2.4k Online

Tausche dich mit Linux-Nutzern aus, lerne Befehle und lade PDF-Cheatsheets herunter.

Live im interaktiven Terminal ausprobieren

Client-seitige Simulation ohne Installation mit sofortigem Feedback.

Im Vollbild-Terminal öffnen ↗
bash — terminal

Überblick & Funktionsweise

`rsync` (Remote Sync) synchronizes files and directories between two locations with delta-transfer algorithm, minimizing data transfer by sending only the differences between files.

Wichtige Optionen und Flags

Flag / OptionDescription
-a, --archiveArchive mode (preserves permissions, timestamps, symlinks, owners, groups).
-v, --verboseIncrease verbosity showing transferred files.
-z, --compressCompress file data during transfer.
--deleteDelete extraneous files from destination directories that no longer exist in source.

Praktische Anwendungsbeispiele

#1Synchronize local directory with remote backup
rsync -avz /home/user/projects/ user@backup-server:/backups/projects/

Transfers and synchronizes project folder with compression and archive preservation.