Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <000b01c1c37c$79c68960$6fc82486@medschool.dundee.ac.uk> Reply-To: "fergus at bonhard dot uklinux dot net" From: "fergus at bonhard dot uklinux dot net" To: Cc: , Subject: Re: recursive rm and ls don't work (Win98) Date: Mon, 4 Mar 2002 12:59:52 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 > rm -rf *.~* > ls -r *.~* > ls -r *.pas > However, > ls -r * > works The rm report ("it doesn't work") is strange. I guess it's a bit scary to risk trying rm -r or even rm -rv, depending on how rm is aliased for you (with or without -i?). Why not just cp -vr {important directory with subdirectories} ~/mytmp and then try rm -rv mytmp and see what happens? Your ls report isn't strange, or doesn't seem strange to me. The -r switch determines the order in which the folders are listed; to get a recursive listing try ls -R. So I can't quite think what you mean by "ls -r * works" because I don't think this should list the contents of subdirectories? Fergus -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/