[Ilugc] rm command

  • From: masatran@xxxxxxxxxxxxxxxxxxx (Masatran, R. Deepak)
  • Date: Tue Apr 24 21:56:25 2007

* Balamurugan Murthy <balamurugan.murthy@xxxxxxxxx> 2007-04-24

Is there any way to avoid file delete confirmation in unix ( apart
from rm -rvf  option ) while using rm command ?

For safety (undo-ability), and neatness; un-alias "rm", and move
the-files-to-be-deleted to "/tmp" instead.

To also ensure privacy, create "~/tmp", move the-files-to-be-deleted to it
instead, and clean it up periodically.

Refer Powers; Peek; O?Reilly; Loukides, "Unix Power Tools"
<http://www.oreilly.com/catalog/upt3/> for relevant information.

-- 
Masatran, R. Deepak <http://research.iiit.ac.in/~masatran/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : 
http://www.ae.iitm.ac.in/pipermail/ilugc/attachments/20070424/369e4c87/attachment.bin

Other related posts: