http://qs1969.pair.com?node_id=602159


in reply to Re: How do I find and delete files based on age?
in thread How do I find and delete files based on age?

I would also highlight strongly to any 'Newbies', especially those unfamiliar with *nix environments not to run this one liner before making backups.

Because it deletes things. And things that delete other things should always be tested first

-=( Graq )=-

Replies are listed 'Best First'.
Re^3: How do I find and delete files based on age?
by Moron (Curate) on Feb 26, 2007 at 16:36 UTC
    Surely the backup is more likely to go wrong than the one liner! Instead a newbie should only be working unsupervised on a non-production machine and backups should be done daily (and in this case also on demand) by properly-qualified staff for all machines including non-production.

    Moreover, Anybody, not just newbies, can make a mistake and it is rather comforting to have the capability to call your friendly sysadmin to restore the damaged goods back to a previous state if there's no quicker repair available.

    I remember having a misunderstanding in a Q/A system over the first digit in an identifier once and deleting everything BUT the data I was supposed to be deleting. Fortunately, a phone call and ten minutes later it was back to where it was.

    -M

    Free your mind