The essence of argument order

Ceri Davies ceri at submonkey.net
Wed Dec 8 16:39:39 PST 2004


On Thu, Dec 09, 2004 at 03:35:26AM +0300, Andrew wrote:
> i've just typed
> # rm -print0 -type l | xargs -0 rm
> instead of
> # rm -type l -print0 | xargs -0 rm
> in a directory with 50+ Gigs of data
> what a nice feeling...
> shit...

If you run it a second time, you'll probably find that it won't delete
anything, if that's any consolation. ;-)

Ceri
-- 
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former.			  -- Einstein (attrib.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-chat/attachments/20041209/b9d54bae/attachment.bin


More information about the freebsd-chat mailing list