include & exclude dosn't work...
jw schultz
jw at pegasys.ws
Sun Oct 26 08:39:51 EST 2003
On Sun, Oct 26, 2003 at 12:09:23AM +0400, Dennis Chelukanov wrote:
> Hello rsync,
>
> I run Rsync as standalone server (--daemon). Here is my rsync.conf
> file
>
[snip]
> exclude *
> include *.mp3
>
> Then i run rsync :
>
> /etc > rsync rsync://gate1@localhost/mp3files/test/
> Password:
> drwxr-xr-x 512 2003/09/13 02:24:46 .
> -rw-r--r-- 771 2003/09/13 02:24:46 .cshrc
> -rw-r--r-- 255 2003/09/13 02:24:46 .login
[snip]
>
> And as you see rsync lists evrything, not only *.mp3 files. I can
> download any of this files too.
>
> How to allow to download only *.mp3 files ?
The whole deamon (in|ex)clude[_from] functionality has been
reworked. Upgrade to CVS and try again.
--
________________________________________________________________
J.W. Schultz Pegasystems Technologies
email address: jw at pegasys.ws
Remember Cernan and Schmitt
More information about the rsync
mailing list