delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/04/08:01:37

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <fergus AT bonhard DOT uklinux DOT net>
From: "fergus at bonhard dot uklinux dot net" <fergus AT bonhard DOT uklinux DOT net>
To: <beaumose AT iquip DOT nl>
Cc: <fergus AT bonhard DOT uklinux DOT net>, <cygwin AT cygwin DOT com>
Subject: Re: recursive rm and ls don't work (Win98)
Date: Mon, 4 Mar 2002 12:59:52 -0000
MIME-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019