Re: --include vs. --exclude

2004-04-03 Thread Wayne Davison
On Sat, Apr 03, 2004 at 01:04:25PM -0600, Phil Howard wrote: > I was not including that first --include '*/' for the directories. > I was under the impression rsync simply created directories "as needed". It does create directories "as needed", but that is irrelevant to what is happening here. Yo

Re: --include vs. --exclude

2004-04-03 Thread Phil Howard
On Sun, Mar 28, 2004 at 07:16:26PM -0600, John Van Essen wrote: | On Fri, 26 Mar 2004, Phil Howard <[EMAIL PROTECTED]> wrote: | > | > So I have on my server a big file tree. I want to use rsync to download | > only the PDF files, which make up a small portion of that tree. So I try | > it this w

Re: --include vs. --exclude

2004-03-28 Thread John Van Essen
On Fri, 26 Mar 2004, Phil Howard <[EMAIL PROTECTED]> wrote: > > So I have on my server a big file tree. I want to use rsync to download > only the PDF files, which make up a small portion of that tree. So I try > it this way: > > rsync -aHPvz --include '*.pdf' --exclude '**' [EMAIL PROTECTED]:

RE: --include vs --exclude-form

2001-03-30 Thread Magdalena Hewryk
Putting /tmp/* instead of /tmp in the excluding filelist works. Thanks Dave. Magda > -Original Message- > From: Dave Dykstra [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 29, 2001 5:32 PM > To: Magdalena Hewryk > Cc: '[EMAIL PROTECTED]' > Subject: Re:

Re: --include vs --exclude-form

2001-03-29 Thread Dave Dykstra
On Thu, Mar 29, 2001 at 04:28:08PM -0500, Magdalena Hewryk wrote: > Hi, > I am still having a problem with excluding ../tmp directory but copy over > ../tmp/content.html file and ../tmp/index.html. > > I can't --exclude "*" --include "tmp/" --include "tmp/content.html". I > simply cannot exclud

RE: --include vs --exclude-form

2001-03-29 Thread Magdalena Hewryk
-from=/export/app/outfilelist/ outfilelist /tmp infilelist content.html index.html Any advise? Thanks, Magda > -Original Message- > From: Magdalena Hewryk > Sent: Thursday, March 29, 2001 3:27 PM > To: [EMAIL PROTECTED] > Subject: RE: --include vs --exclude-form > > >

RE: --include vs --exclude-form

2001-03-29 Thread Magdalena Hewryk
Ops, I've found the answer... "if the pattern starts with "+" then it is always considered an include pattern, even if specified as part of an exclude option. outfilelist + tmp Sorry I bug you. Thanks, Magda > -Original Message- > From: Magdalena Hewryk [mailto:[EMAIL PROTECTED]] > Sent