Re: Yet another include/exclude question

2009-11-09 Thread Wayne Davison
On Sun, Nov 8, 2009 at 10:21 PM, Thomas Gutzler thomas.gutz...@gmail.comwrote: I thought --include=/this_dir/ --include=/this_dir/*** would do it, but it doesn't. The exclude * seems to overwrite the include matches: [sender] hiding file this_dir/foo because of pattern * Order is important.

Re: Yet another include/exclude question

2009-11-09 Thread Thomas Gutzler
Thanks everyone for your help, I've got what I want. Wayne Davison wrote: On Sun, Nov 8, 2009 at 10:21 PM, Thomas Gutzler thomas.gutz...@gmail.com mailto:thomas.gutz...@gmail.com wrote: I thought --include=/this_dir/ --include=/this_dir/*** would do it, but it doesn't. The exclude *

Re: Yet another include/exclude question

2009-11-09 Thread Matt McCutchen
On Tue, 2009-11-10 at 09:45 +0800, Thomas Gutzler wrote: Thanks everyone for your help, I've got what I want. Wayne Davison wrote: On Sun, Nov 8, 2009 at 10:21 PM, Thomas Gutzler thomas.gutz...@gmail.com mailto:thomas.gutz...@gmail.com wrote: I thought --include=/this_dir/

Re: Yet another include/exclude question

2009-11-09 Thread Thomas Gutzler
Matt McCutchen wrote: On Tue, 2009-11-10 at 09:45 +0800, Thomas Gutzler wrote: Thanks everyone for your help, I've got what I want. My first attempt has been --include=*/ --include=*.foo --include=*.bar --include=/this_dir/*** --exclude=* which did nothing than *.foo and *.bar. Shuffling it

Re: Yet another include/exclude question

2009-11-08 Thread Thomas Gutzler
What if I also want to include everything in /this_dir/ without running two instances and still being able to use --delete? I thought --include=/this_dir/ --include=/this_dir/*** would do it, but it doesn't. The exclude * seems to overwrite the include matches: [sender] hiding file this_dir/foo

Yet another include/exclude question

2009-11-05 Thread Thomas Gutzler
Hi, How can I include only *.foo and *.bar files in an rsync? To make it a bit more difficult: Those files can be anywhere in the directory structure. I've been reading and trying for a while but the best I got is all *.foo and *.bar files in ./ but none of the ones inside any directories.

Re: Include / Exclude question

2001-09-27 Thread Dave Dykstra
On Wed, Sep 26, 2001 at 09:17:03AM +0300, Coroiu Cosmin Marius wrote: Dave Dykstra wrote: On Tue, Sep 25, 2001 at 12:18:31PM +0300, Coroiu Cosmin Marius wrote: Hello all ! I want to save some of the directories and files from my home dir.For that I create a new

Include / Exclude question

2001-09-25 Thread Coroiu Cosmin Marius
Hello all ! I want to save some of the directories and files from my home dir.For that I create a new directory where I moved the file for sync and I made some symlinks to the dirs which I want to include in sync.The hidden directoris (like .netscape) are not included in

Re: Include / Exclude question

2001-09-25 Thread Dave Dykstra
On Tue, Sep 25, 2001 at 12:18:31PM +0300, Coroiu Cosmin Marius wrote: Hello all ! I want to save some of the directories and files from my home dir.For that I create a new directory where I moved the file for sync and I made some symlinks to the dirs which I want to

Re: Include / Exclude question

2001-09-25 Thread Coroiu Cosmin Marius
Dave Dykstra wrote: On Tue, Sep 25, 2001 at 12:18:31PM +0300, Coroiu Cosmin Marius wrote: Hello all ! I want to save some of the directories and files from my home dir.For that I create a new directory where I moved the file for sync and I made some symlinks to the