[Gllug] Re: trash management
Tethys
sta296 at astradyne.co.uk
Mon Jan 30 13:32:30 UTC 2006
"Dan Stevens (IAmAI)" writes:
>Also, eventually I would like a daemon that will manage the permanent
>removal of files in trash.
Well you *could* reinvent the wheel. Or you could just have a cron job
that does it for you:
find "${TRASH:-$HOME/.trash}" -mindepth 1 -mtime +5 -print0 | xargs -0 /bin/rm -rf
Tet
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list