I' ve write a little patch for rsync. I'm not a programmer but when I mirror pas cooker package of mandrake, I want to the file for 15 days, even if the file has been delete on the server. I add the option --heeptime=x where x is the time of validity in second after it creation. But I don't want to keep very large file: --keepmaxsize=y where y is the maximum size for a file in kbyte. I don't kown if this patch interest someone but it is in GPL ! Thanks a lot. -- Olivier Thauvin-CNRS Service Aeronomie olivier.thauvin@aerov.jussieu.fr T?l?phone: 01 64 47 43 60 ? Verri?res (lundi,mercredi et vendredi) 01 44 27 47 59 ? Jussieu (Mardi et Jeudi) Service d'A?ronomie R?duit de Verrieres - BP 3 Route des Gatines 91371 Verrieres le Buisson Cedex France Fax:33 (0)1 69 20 29 99 -------------- next part -------------- A non-text attachment was scrubbed... Name: diff-rsync-2.5.2-ot.gz Type: application/x-gzip Size: 794 bytes Desc: not available Url : http://lists.samba.org/archive/rsync/attachments/20020203/aac5236d/diff-rsync-2.5.2-ot.bin
On Sun, Feb 03, 2002 at 10:25:26PM +0100, Olivier Thauvin wrote:> I' ve write a little patch for rsync. > > I'm not a programmer but when I mirror pas cooker package of mandrake, I want > to the file for 15 days, even if the file has been delete on the server. > > I add the option --heeptime=x where x is the time of validity in second after > it creation. > > But I don't want to keep very large file: > --keepmaxsize=y where y is the maximum size for a file in kbyte. > > I don't kown if this patch interest someone but it is in GPL !I think that would be better done with "find -mtime" and "find -size" commands. - Dave Dykstra