On Thu, Jan 04, 2001 at 11:04:12PM +0100, Otto Wyss wrote:
> I want to mirror any i386 packages from a debian package mirror with the
> following command
> 
> rsync -avvP --include-from="file"
> ftp.at.debian.org::debian-ftp/debian-non-US/pool/non-US/main 
>/mirror/debian/non-US/main
> 
> while "file" contains
> 
> +"_all"
> +"_i386"
> -"*"
> +"*/"
> 
> But the -"*" does not work, all files were mirrored! What's wrong?

It must have to do with your quoting.  Those should probably be
    + /_all**
    + /_i386**
    - *

The order is significant.  That + */ you had there would have no effect
because the - * would have taken precedence.  You also need a slash at the
end of your source directory or all the paths will be prefixed by "main".

- Dave Dykstra

Reply via email to