Skip to content

Instantly share code, notes, and snippets.

@nsams
Created October 13, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nsams/791595c5cea501354b46 to your computer and use it in GitHub Desktop.
Save nsams/791595c5cea501354b46 to your computer and use it in GitHub Desktop.
niko@niko:~$ mkdir rsynctest
niko@niko:~$ cd rsynctest/
niko@niko:~/rsynctest$ mkdir foo
niko@niko:~/rsynctest$ echo bar > foo/bar
erstmaligen kopieren:
niko@niko:~/rsynctest$ rsync -av --delete foo foo-copy
sending incremental file list
created directory foo-copy
foo/
foo/bar
sent 136 bytes received 70 bytes 412.00 bytes/sec
total size is 4 speedup is 0.02
nochmal kopieren, wird *nicht* neu kopiert!! (da nicht geändert)
niko@niko:~/rsynctest$ rsync -av --delete foo foo-copy
sending incremental file list
sent 82 bytes received 17 bytes 198.00 bytes/sec
total size is 4 speedup is 0.04
datei ändern....
niko@niko:~/rsynctest$ echo bar2 > foo/bar
nochmaliges kopieren kopiert sie neu (da geändert)
niko@niko:~/rsynctest$ rsync -av --delete foo foo-copy
sending incremental file list
foo/bar
sent 138 bytes received 36 bytes 348.00 bytes/sec
total size is 5 speedup is 0.03
und nochmal drauf nicht mehr
niko@niko:~/rsynctest$ rsync -av --delete foo foo-copy
sending incremental file list
sent 86 bytes received 17 bytes 206.00 bytes/sec
total size is 5 speedup is 0.05
niko@niko:~/rsynctest$ ^C
niko@niko:~/rsynctest$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment