[prog] bash script

Wolf Rising wolfrising at gmail.com
Mon Apr 9 19:19:57 UTC 2007


I would like to run a little bash script at log out to empty any files
from the trash that are at least 7 days old. I can figure out how to
delete the trash at log out but not how to
set it to only delete files that are at least 7 days old. Could anyone toss me
a hint or two? I was thinking find with a delete parameter might work....

Thanks!!


More information about the Programming mailing list