[users] mrepo - excluding some files from downloading

Nico Kadel-Garcia nkadel at gmail.com
Fri May 31 12:51:33 CEST 2013

On Fri, May 31, 2013 at 6:33 AM, Ljubomir Ljubojevic <centos at plnet.rs> wrote:
> Hi.
> Is there a way to exclude *kmdl* files from being downloaded from AtRpms?
> I use rsync, and I would like to have an option to use it only for specific
> repo, but for this purpose general filter for all repos will do just fine.

Read the man page, "man rsync", and explore the use of the "--exclude"
option. For example:

     rsync -avH --exclude=kmdl* remoterepo:/dirname/ /localdirname/

More information about the users mailing list