[CentOS-mirror] CentOS-mirror Digest, Vol 83, Issue 9

Thu Jan 12 04:47:23 UTC 2012
Prof. P. Sriram <sriram at ae.iitm.ac.in>

On Wed, 11 Jan 2012, Ali Corbin wrote:
> # Run it verbosely so that we can report what was downloaded.
> # And don't bother with the iso images - they're too big.
> OPTS="-avzH --exclude=isos"

I dont believe this is a good solution to the original query which is

> On Wed, Jan 11, 2012 at 9:49 AM, Marlon Guzman <admin at solidhosting.ph>
> wrote:
>       How to rsync without DVD? Tnx.

Doing exclude=isos will skip the entire isos directory - which is not only 
the DVDs but also the live, netinstall, CD images etc. Without the isos 
directory, the usefulness of the site may be significantly limited - only 
those with CentOS already installed and running may have use for it, 
perhaps to add packages and get updates. Also, the .torrent files are in 
the isos directory and using the .torrent files may be the fastest way for 
an end user to get hold of install DVD images. If you (Marlon) just want 
to avoid the DVD images so as to save space (or if you cannot serve up the 
DVD images to users due to other reasons), then a *DVD*iso is perhaps a 
better exclude (and even this will skip the Live DVD images). Perhaps a 
more flexible way to do excludes is to include a

--exclude-from=foo

in the rsync command and put all the exclude strings in the file named 
foo. For above example, the contents of the foo file would be a single 
line of text as below.

*DVD*iso

-- 
sriram