[Samba] Samba Recycle Age limit.

L A Walsh samba at tlinx.org
Thu Sep 7 18:17:35 UTC 2017

Carlos A. P. Cunha via samba wrote:
> For me, is "magic line"
> find $DEST -depth -mtime +$DAYS -print -delete
    I'm guessing you probably want 'ctime' there.

    If you use mtime, then it will be deleted "ndays" after
the last modification date on the file -- NOT the time the file
was moved into the recycle bin.

    If you use ctime - that appears to update when the file
is moved into a different directory (the recycle bin) -- allowing
things to expire some number of days after it is "recycled".

More information about the samba mailing list