Martin Ebourne wrote:
> One of the rules to save your bacon, just like you should always
> 'select ... from ... where ...' before you 'delete from ... where ...',
> 'find ... -print' before you 'find ... -exec rm \;' or xargs equivalent.

No, you turn off autocommit, you maniac.

Which reminds me, I'd long ago written a "trash" script to provide an undoable 
rm.

        $ cat ~/bin/trash
        #!/bin/sh

        mv --backup=numbered "$@" ~/.Trash/

Maybe I should remember to use that.


-- 
Robrt:   People can't win
Schwern: No, but they can riot after the game.

Reply via email to