The Samba-Bugzilla – Bug 2194
recycle touch fix
Last modified: 2005-06-26 17:06:23 UTC
attached is a fix for the touch feature of recycle. Can someone please apply
Created attachment 870 [details]
fix for recycle's touch fetaure
As far as I read the recycle touch feature, this is meant to only update the
"last access" time, not the "last modify" time. In the XP explorer you can
select to show the last access time and then sort by this.
Could you please check that this works together with the recycle touch feature?
Closing this bug, please reopen if it does not work with the last access time.
is it not wiser to do the touch the modified time rather than the access time?
It depends on the goals, but I was thinking of using the touch feature to set
the time so that a script can delete files X days old. But the way windows is,
just opening a folder can modifiy the access time, thus modified time or created
time is more of a benifit?
I didn't investigate here much more but if a Windows explorer access really
changes the atime it would really in fact be better to change mtime. Changing
mtime of de facto *deleted* files should not hurt.
for the files: Günther addressed this also by adding recycle:touch_mtime.
Thanks gd :)