Hi,

This is what I use:
/usr/bin/find /home/samba/Prgs/.recycle -type f -mtime +5 -exec /bin/rm {} \;

I suppose you know you will need one for each share.

It would be nice if there was a variable one could set so recycle.so would
limit how old the files get.  This could be either per share or globally.

I hope this helps.

Rodrigo Carvalhaes ([EMAIL PROTECTED]) wrote:
>
> Hi!
>
> I implemented the vfs reclycle and it�s really good!
> Now, I wanna to put on my monthly cron a script to clean old recycles...
>
> Someone have examples to send me ? Tips?
>
> Thanks !
>
> Cheers
>
> Rodrigo Miranda Carvalhaes
>
>
>

--
Bob Crandell, CNS
Assured Computing, Inc.
When you need to be sure.
http://www.assuredcomp.com/
P.O. Box 40814
Eugene, OR 97404
Voice - 541-868-0331
FAX - 541-463-1627


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to