Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • @Cheng, care to explain a bit more? I'd be happy to update my answer if there is a problem/improvement. Commented Jan 8, 2011 at 4:45
  • It works. I guess. The --process things is confusing me, make me thought it was transfered again. Commented Jan 9, 2011 at 7:23
  • I've edited my answer to explain a bit more. Commented Jan 9, 2011 at 8:07
  • 2
    @Cheng: I suspect you don't want the --delete-excluded. Without it, only *.jpg and *.txt may be deleted on the destination side. With it, unrelated files would be deleted as well. You may be interested in this tutorial on rsync filters. Commented Jan 9, 2011 at 16:09
  • 3
    Thanks! For me I was missing the trailing slash on the source directory. Commented Oct 11, 2012 at 0:29