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
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
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]:
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:
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
-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
>
>
>
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