This is the mail archive of the
cygwin
mailing list for the Cygwin project.
"rm -rf ./foo/" safe to use?
- From: cygwin at trodman dot com (Tom Rodman)
- To: cygwin at cygwin dot com
- Date: Wed, 26 Apr 2006 09:36:02 -0500
- Subject: "rm -rf ./foo/" safe to use?
- Reply-to: cygwin at cygwin dot com
Rightly or wrongly over the years I've refrained from using
cygwin to delete large directories; instead, from bash I'll cd
to the parent dir, and run:
cmd /c rmdir /s /q MYDIR2DELETE
I think I had read something years back about cygwin's inode
simulation (sorry to munge up the terminology), being imperfect;
so that may have convinced me to not use "rm -rf DIRXXX".
So is "rm -rf ./foo/" safe to use? Is there any danger that
anything other than ./foo/ will be deleted?
Thanks for any help, I'm mainly just curious. :->
--
Tom Rodman
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/