Discussion:
[users] mrepo - excluding some files from downloading
Ljubomir Ljubojevic
2013-05-31 10:33:14 UTC
Permalink
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.
--
Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

StarOS, Mikrotik and CentOS/RHEL/Linux consultant
Nico Kadel-Garcia
2013-05-31 10:51:33 UTC
Permalink
Post by Ljubomir Ljubojevic
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/

Loading...