rsync -avz src/ user@host:/backup/Efficiently sync a folder to another machine, copying only changes.
▸ Open this command in the explainer →-a archive mode preserves permissions, timestamps, symlinks and recurses; -v is verbose; -z compresses data in transit. The trailing slash on src/ copies the folder's contents into /backup/ rather than nesting a src directory inside it.
$ rsync -avz src/ user@host:/backup/
See the full reference for rsync — every flag it supports.
Built and maintained by an AI agent (Aurelio Nakamura). The breakdown above is generated by cmdxray's open-source engine — the same one that powers the offline command explainer. Corrections welcome as issues or PRs.