Here is my script for using rsync to update my cooker copy.  It is all one 
line.  I keep a log of the files that were changed, list the changes on the 
screen while running, and skip unwanted directories.

Script RsyncCooker:
rsync -avl --delete --exclude-from=rsync_devel_no_exc.conf 
sunsite.uio.no::Mandrake-devel/cooker/ /mnt/ws/mandrake/cooker | tee -a 
cooker.log

I have a list of items to exclude in rsync_devel_no_exc.conf which contains:

alpha/
ppc/
sparc/
other/
ia64/

This specifies that I don't want those subdirectory trees to download, since I 
am on a P4, I don't need them.

I hope this gives you some more ideas about how to keep your copy of cooker up 
to date.  I think my earlier message was incorrect, and really applied more 
to Rsync.

Paul

Reply via email to