Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Rsync
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Use == Similar to '''[[cp (Unix)|<code>cp</code>]]''', '''[[rcp (Unix)|<code>rcp</code>]]''' and '''[[Secure copy|<code>scp</code>]]''', '''<code>rsync</code>''' requires the specification of a source and a destination, of which at least one must be local.<ref>See the [http://rsync.samba.org/ftp/rsync/README README file] {{Webarchive|url=https://web.archive.org/web/20071210003559/http://rsync.samba.org/ftp/rsync/README |date=10 December 2007 }}</ref> Generic syntax: <syntaxhighlight lang="bash"> rsync [OPTION] β¦ SRC β¦ [USER@]HOST:DEST rsync [OPTION] β¦ [USER@]HOST:SRC [DEST] </syntaxhighlight> where {{var|SRC}} is the file or directory (or a list of multiple files and directories) to copy from, {{var|DEST}} is the file or directory to copy to, and square brackets indicate optional parameters. <code>rsync</code> can synchronize Unix clients to a central Unix server using <code>rsync</code>/<code>ssh</code> and standard Unix accounts. It can be used in desktop environments, for example to efficiently synchronize files with a backup copy on an external hard drive. A scheduling utility such as <code>[[cron]]</code> can carry out tasks such as automated encrypted <code>rsync</code>-based mirroring between multiple hosts and a central server.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)