rsync Command

In this tutorial we learn how to use rsync commmand.

What is Linux rsync Command?

In this tutorial we learn how to use rsync command.

From the man page:

rsync is a tool for transfering data from or to a server. It supports these protocols: DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET or TFTP. The command is designed to work without user interaction.

rsync offers a busload of useful tricks like proxy support, user authentication, FTP upload, HTTP post, SSL connections, cookies, file transfer resume and more.

rsync Syntax

rsync <options> <url>

rsync Examples

rsync Command Manual / Help

We can use man and info command to see the manual page of rsync command.

rsync command also have --help option to show list of options.

To open man page for rsync command we can use command below. To exit man or info page you can press q.

man rsync

To open info page for rsync command we can use command below.

info rsync

To open help page from rsync command we can run command below.

rsync --help

References

You can find more information about rsync from the following links:

You can read tutorials of related Linux commands below:

Summary

In this tutorial we learn how to use rsync with practical examples.

Visit our Linux Commands guide to learn more about using command line interface in Linux.