script rsync to sincronize

Mahyuddin Susanto udienz at gmail.com
Thu Oct 30 09:13:30 GMT 2008


BlueT wrote:
> #!/bin/bash
> 
> RSYNCSOURCE=rsync://archive.ubuntu.com/ubuntu
> BASEDIR=/home/ftp/ubuntu/
> 
> rsync -avz --progress --recursive --times --links --hard-links \
>       --stats \
>       --exclude "Packages*" --exclude "Sources*" \
>       --exclude "Release*" \
>       ${RSYNCSOURCE} ${BASEDIR}
> 
> rsync -avz --recursive --times --links --hard-links \
>       --stats --delete --delete-after \
>       --exclude "project/trace/${HOSTNAME}" \
>       ${RSYNCSOURCE} ${BASEDIR}
> 
> 

hm...
i use rsync and debmirror :D

-- 
[Mahyuddin Susanto]
Blog: http://udienz.immteknik.org YM: udienz at ymail.com
[http://mirror.unej.ac.id]
-
My godda bless, never I see sucha people.
		-- Signor Piozzi, quoted by Cecilia Thrale
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debmirror.ubuntu.sh
Type: application/x-shellscript
Size: 673 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mirrors/attachments/20081030/950f85fd/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rsync-ubuntu.sh
Type: application/x-shellscript
Size: 6300 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-mirrors/attachments/20081030/950f85fd/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/ubuntu-mirrors/attachments/20081030/950f85fd/attachment.pgp 


More information about the ubuntu-mirrors mailing list