On Mon, Apr 09, 2001 at 11:18:10AM +0930, Mark Phillips wrote: > All that an undelete would involve (as I currently see it) is: > > 1. Have rm move files to a "waste basket" instead of deleting them > outright. > > 2. After files have been in the waste basket a certain length of time, > say 5 days, automatically delete them. > > The only issue with this I can think of, is when the disk becomes near > to full. Here files should be removed from the waste basket on a > first-in-first-out basis. It would probably also be good to have a > warning message in this situation. Something like: > > The disk is close to full meaning this operation will > prematurely purge files from the wastebasket. Do you wish to > continue? > > And that's about all that would be needed I think.
Hmmm ... I'd love to have that interactive line pop up in a cron script. :) Rob -- QOTD: "This is a one line proof... if we start sufficiently far to the left."