[Bug 228369] [NEW] add an option to autodelete items from trash:/ after a specified span of time

2008-05-08 Thread Ritesh Raj Sarraf
Public bug reported: It would be good to have an expire kind of option for the Trash folders in [K]ubuntu. In the current mode, the Trash folder is useless. Users will either do a Shift + Delete or Delete + Empty Trash. If an expiry option is provided, it'll help a lot. An example: I use the la

[Bug 228369] Re: add an option to autodelete items from trash:/ after a specified span of time

2008-05-11 Thread Ritesh Raj Sarraf
Sebastien, Can you please provide the link to the original bug report? -- add an option to autodelete items from trash:/ after a specified span of time https://bugs.launchpad.net/bugs/228369 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed t

[Bug 228369] Re: add an option to autodelete items from trash:/ after a specified span of time

2008-05-11 Thread Ritesh Raj Sarraf
Thank you. The upstream bug reports are helpful. Both the bug reports are quite old but with no fix downstream yet. So I'm not sure when we could see this in [K]ubuntu. I hope we all are aware of tmpreaper. It cleans files/folders in /tmp based on how old they are. Probably, till it gets fixed,

[Bug 228369] Re: add an option to autodelete items from trash:/ after a specified span of time

2008-05-11 Thread Ritesh Raj Sarraf
[EMAIL PROTECTED]:~$ cat .kde/shutdown/TrashReaper #!/bin/bash #Removes old files from the KDE trash folder (KDE >= 3.4) #(c) 2005 Bram Schoenmakers # http://bram85.blogspot.com/2005/11/only-good-for-trash-bin.html EXPIREDATE=`date -d'30 days ago' +%Y%m%d` TRASHDIR=~/.local/share/Trash cd $TR