This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

"rm -rf ./foo/" safe to use?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]