Re: [Samba] Purge Trash Fileserver
- Date: Tue, 25 Apr 2017 16:44:41 +0200
- From: Dario Lesca via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] Purge Trash Fileserver
Il giorno mar, 25/04/2017 alle 10.30 -0300, Carlos A. P. Cunha ha
> for the answer.
> The problem that this way is pretty much the same as my
> I want you to be able to delete the file based on the date
> they were sent to the bin. As I gave in the
> The file has not been changed since 2015, when it is
> deleted now in 2017, it goes to the bin, dated 2015, when
> find pass will erase, why it does not validate when it has
> been deleted, but the file information.
You are right!
The option '-atime' use the access time, but the access time not change
when the file is delete from the share and samba move it from original
dir to trash.
It would be useful if samba update the atime when a file was deleted.
Then I do not know how to do what you want, without a specific shell
script which verifies whenever what files were added into trash from
the previous time, touch the atime to this new trash files and then
apply your or my delete procedure
If you find a better solution let me know.
(inviato dal mio Linux Fedora 25 Workstation)
To unsubscribe from this list go to the following URL and read the