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

TB


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
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to