Transférer des fichiers vers ou depuis un hôte distant (pas entre deux hôtes distants). Peut transférer un ou plusieurs fichiers correspondant à un motif. Plus d'informations : https://download.samba.org/pub/rsync/rsync.1.
rsync {{chemin/vers/origine}} {{chemin/vers/destination}}
rsync {{[-a|--archive]}} {{chemin/vers/origine}} {{chemin/vers/destination}}
rsync {{[-r|--recursive]}} {{chemin/vers/origine}} {{chemin/vers/destination}}
rsync {{[-r|--recursive]}} {{chemin/vers/origine/}} {{chemin/vers/destination}}
rsync {{[-auL|--archive --update --copy-links]}} {{chemin/vers/origine}} {{chemin/vers/destination}}
rsyncd
et supprimez les fichiers sur la destination qui n'existent pas sur l'hôte distant :rsync {{[-r|--recursive]}} --delete rsync://{{hote_distant}}:{{chemin/vers/origine}} {{chemin/vers/destination}}
rsync {{[-e|--rsh]}} 'ssh -p {{port}}' --info=progress2 {{hote_distant}}:{{chemin/vers/origine}} {{chemin/vers/destination}}