rm -rf and recursive nothing
Peter Avalos
pavalos at theshell.com
Sat Jul 22 08:36:32 PDT 2006
On Sat, Jul 22, 2006 at 03:36:59PM +0200, Simon 'corecode' Schubert wrote:
> Erik Wikstr?m wrote:
> >>What one is saying in effect is "I may not have gotten all this right,
> >>or there may be surprises, so I want to see and specifically approve
> >>each/some actions".
> >
> >The problem arises when -i/-I us used with -f, which by the same
> >reasoning also should be at "the top of the food-chain". -f says that I
> >know what I'm doing so don't bother me with asking for confirmation. Not
> >that I don't approve of the way things are at the moment but I can see
> >why some might not agree.
>
> I don't agree with the meaning. For me -f means "try to remove in every
> case and don't fail", i.e. also remove write-protected files and don't fail
> if the files didn't even exist.
>
I somewhat agree with this, but I understand both arguements. Perhaps a
good compromise would be 'rm -ff'.
--Peter
Attachment:
pgp00023.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00023.pgp
Type: application/octet-stream
Size: 189 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20060722/2b5c7850/attachment-0022.obj>
More information about the Bugs
mailing list