On Wed, Jun 18, 2014 at 12:52 AM, Pletter Thomas <t.plet...@rewe-group.at>
wrote:

> this command doesn't  do nothing:
> rsync  -aviz --include='*/' --include='*/00' --include='*/00/**'
> --exclude='*' --prune-empty-dirs . remote_host:/tmp
>

I'd imagine that you tried that after the -R command and there were no new
files to transfer, so it output nothing (since the command is fine).  You
can use an extra -i option to see all the files it matched but didn't
transfer.  Also, your includes should really all be anchored to the top of
the transfer (i.e. --include='/*/' --include='/*/00' --include='/*/00/**')
but that doesn't affect them working with your desired directories, it just
makes sure that they don't match other things that you don't want.  Also
note that the latter 2 includes can be specified as 1:
--include='/*/00/***' (the triple star matches both the dir and all its
contents).

..wayne..
-- 
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

Reply via email to