Re: [Samba] Samba Recycle Age limit.
- Date: Thu, 07 Sep 2017 11:17:35 -0700
- From: L A Walsh via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] Samba Recycle Age limit.
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".
To unsubscribe from this list go to the following URL and read the