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
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 unsubscri
I have this in smb.conf:
vfs objects = recycle
recycle:repository = .recycle/%U
recycle:keeptree = yes
recycle:touch_mtime = yes
Files get moved to each user's subfolder inside .recycle, and the directory
tree where the deleted file lied gets created, but the modification time of
the file is pre