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]:
It guess I still haven't figured out the entire sematics of the --include
and --exclude options. From reading the man page, it seems to say that
what happens is that each file being checked is tested against each pattern
in order, and when one matches the tests end, and whether it is --include
or
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
>
>
>
k [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 29, 2001 3:11 PM
> To: [EMAIL PROTECTED]
> Subject: --include vs --exclude-form
>
>
> Hi,
>
> I'm trying to exclude ../tmp ../new ../.precious and other
> directories
> from mirroring but I need ../tmp/content.ht
Hi,
I'm trying to exclude ../tmp ../new ../.precious and other directories
from mirroring but I need ../tmp/content.html and ../tmp/index.html to be
updated regardless of the excluding list on the receiving host.
The exclude filelist works but it blocks all the files and
../tmp/content.html an