On Sun, 12 Apr 2015 09:44:56 -0700, Wayne Davison wrote: > rsync -aiv --include=foo/file --include='*/' --exclude='*' > rsync.example.net::module/ /dest/
Another issue is as follows: if I have known that the `foo/file' is located under some sub-directories under a folder named `bar' in in the module's directory, in this case, I want to save the time for only searching into all of the sub-directories of rsync.example.net::module/ bar/. Then what's revision should be done on the --include='*/' to adapt for this case? Regards > > You might also try using --prune-empty-dirs. -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html