User Tools

Site Tools


linux:shellcommands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
linux:shellcommands [2017/03/15 02:36] – [date] adminlinux:shellcommands [2017/04/18 09:38] – [rsync] admin
Line 551: Line 551:
 ==== rsync ==== ==== rsync ====
 ( rsync  is  a  program that behaves in much the same way that rcp does, but has many more options and uses the rsync       remote-update protocol to greatly speed up file transfers when the destination file is being updated. ( rsync  is  a  program that behaves in much the same way that rcp does, but has many more options and uses the rsync       remote-update protocol to greatly speed up file transfers when the destination file is being updated.
-The rsync remote-update protocol allows rsync to transfer just the differences between two sets of files across the network connection, using an efficient checksum-search algorithm described in the technical report that accompanies  this package.)<code bash>+The rsync remote-update protocol allows rsync to transfer just the differences between two sets of files across the network connection, using an efficient checksum-search algorithm described in the technical report that accompanies  this package.) 
 +  * rsync in local<code bash>
 rsync -avz   --exclude=".svn" "/home/anhvc/web/9thien.com/" /web/9thien.com/ rsync -avz   --exclude=".svn" "/home/anhvc/web/9thien.com/" /web/9thien.com/
 +</code>
 +  * rsync to remote host<code bash>
 +rsync -avz --exclude=".svn"  -e "ssh -p2222" "/home/anhvc/web" 123.30.245.164:~
 </code> </code>
 ==== rsync on windows ==== ==== rsync on windows ====
linux/shellcommands.txt · Last modified: 2022/10/29 16:15 by 127.0.0.1