💾 Archived View for freeshell.de › tldr › rsync.gmi captured on 2023-11-04 at 12:50:08. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Transfer files either to or from a remote host (not between two remote hosts).
Can transfer single files, or multiple files matching a pattern.
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).