Re: **MY** wildcard in recursive rsync

This is a discussion on Re: **MY** wildcard in recursive rsync within the Rsync forums, part of the Networking and Network Related category; On Tue, Oct 18, 2005 at 04:05:18PM +0200, stoil valchkov wrote: > Obviously I would like to get ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-19-2005
Wayne Davison
 
Posts: n/a
Default Re: **MY** wildcard in recursive rsync

On Tue, Oct 18, 2005 at 04:05:18PM +0200, stoil valchkov wrote:
> Obviously I would like to get all files & directories which has in path
> **MY**


The only solution rsync provides is to scan all directories, like this:

--include='*/' --include='*MY*/*' --include='*MY*' --exclude='*'

That creates the entire directory hierarchy, but only copies the
contents of a directory named *MY* and any files that are named
*MY*. If you want finer control, you need to do the scan yourself
and use the --files-from option.

...wayne..
--
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 With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:27 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0