💾 Archived View for freeshell.de › tldr › rsync.gmi captured on 2022-06-04 at 00:24:59. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

rsync

Transfer files either to or from a remote host (not between two remote hosts).
Can transfer single files, or multiple files matching a pattern.

More information.

rsync {path/to/local_file} {remote_host}:{path/to/remote_directory}
rsync {remote_host}:{path/to/remote_file} {path/to/local_directory}
rsync -azvhP {path/to/local_file} {remote_host}:{path/to/remote_directory}
rsync -r {remote_host}:{path/to/remote_directory} {path/to/local_directory}
rsync -r {remote_host}:{path/to/remote_directory}/ {path/to/local_directory}
rsync -rauL {remote_host}:{path/to/remote_directory} {path/to/local_directory}
rsync -e ssh --delete {remote_host}:{path/to/remote_file} {path/to/local_file}
rsync -e 'ssh -p {port}' --info=progress2 {remote_host}:{path/to/remote_file} {path/to/local_file}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY