[Samba] recycle vfs module

Tim Bates tin at new-life.org.au
Mon Jan 19 11:27:00 GMT 2009

If you shares are on a filesystem that does ctime, you can find files 
with a ctime older than 7 days. ctime should update when the files are 
moved to the recycle directory.

For example, you could use find like this:
find /full/path/to/.recycled/ -ctime +7


vishesh kumar wrote:
> Dear all
>  I am using samba 3.0.28 on RHEL5.2. I configured VFS to store deleted file
> from samba share. Now i want to write script to delete files from recycle
> store after 7 days of deleting file from samba share. How i know the date
> when file was deleted from samba share.
> Thanks

More information about the samba mailing list