Dan,
Try changing your include file to look like this:
# secrethost-cron
+ /
+ /var
+ /var/spool
+ /var/spool/cron
+ /var/spool/cron/*
- /var/spool/*
- /var/*
- /*
Note the lack of trailing slashes on the directories. It should not need
the --delete-excluded option. I believe the include/exclude algorithm
compares the names as before it decides if they are directories.
-Lee
---begin quoted text---
> Reply-To: [EMAIL PROTECTED]
> From: <[EMAIL PROTECTED]>
> To: Multiple recipients of list RSYNC <[EMAIL PROTECTED]>
> Subject: files and directories are not being deleted
> Date: Sun, 11 Jun 2000 16:43:56 +1000
>
>
> When I delete a file from within /var/spool/cron it does not get deleted on the
>receiving side the next time I run this rsync command.
> What could I be doing wrong? I feel I've gone through the manpage and understand
>that this should be working.
> I've even tried the --delete-excluded to see if it would do but no luck.
> Is there maybe a better way to do the includes that would solve this?
>
> rsync --partial --delete --numeric-ids -qRrtlp \
> --include-from=/backup/patternfiles/secrethost/secrethost-cron \
> -e ssh secrethost:/ /backup/servers/secrethost
>
> # secrethost-cron
> + /
> + /var/
> + /var/spool/
> + /var/spool/cron/
> + /var/spool/cron/*
> - /var/spool/*
> - /var/*
> - /*
>
> I am so lost here, I've tried everything I can think of.
>
> Thanks.
> --
> Dan Cyr - Stratabase Network Administration
> 203-34314 Marshall Rd. Abbotsford BC, V2S 1L2
> Phone: 604-504-5811 Fax: 604-504-5810
> Email [EMAIL PROTECTED] Web http://www.stratabase.com
---end quoted text---
--
Lee Eakin - [EMAIL PROTECTED] - Naming Services, Texas Instruments -o)
[ permanent e-mail: [EMAIL PROTECTED] ] /\\
_\_v
When in doubt, parenthesize. At the very least it will let some
poor schmuck bounce on the % key in vi.
-- Larry Wall in the perl man page