Two folders !

Tony Alexander axx at amnh.org
Mon May 9 12:01:30 GMT 2005


On May 9, 2005, at 7:09 AM, BASING Tibor Vovcak wrote:

> Hello !!
>  
> I need to sync two folders in fedora linux.
>  
> One      is at /ftp/test/test1
> Second is at /ftp/test/test1/test3
>  
> I need to sync /ftp/test/test1/test3 that new files uploaded will be 
> seen in /ftp/test/test1 every hour or a day .
>  
> How do i do that ?
>  
> Thank YOU ALL !
>  
> Tibor Vovčak
>

tibor,

run this script in cron

00	*	*	*	*	rsync -aucz /ftp/test/test1/ /ftp/test/test1/test3/

this will sync test1 to test3 every hour.

ax
:-)

Tony Alexander
System Administrator
Center for Biodiversity and Conservation
American Museum of Natural History
Central Park West at 79th Street
New York, NY 10024
Phone: 212 496 3474
Fax: 212 769 5292
Mobile: 917 548 0560
http://cbc.amnh.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1093 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20050509/10ee9fca/attachment.bin


More information about the rsync mailing list