public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "fergus at bonhard dot uklinux dot net" <fergus@bonhard.uklinux.net>
To: <beaumose@iquip.nl>
Cc: <fergus@bonhard.uklinux.net>, <cygwin@cygwin.com>
Subject: Re: recursive rm and ls don't work (Win98)
Date: Mon, 04 Mar 2002 05:00:00 -0000	[thread overview]
Message-ID: <000b01c1c37c$79c68960$6fc82486@medschool.dundee.ac.uk> (raw)

>    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/

                 reply	other threads:[~2002-03-04 13:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000b01c1c37c$79c68960$6fc82486@medschool.dundee.ac.uk' \
    --to=fergus@bonhard.uklinux.net \
    --cc=beaumose@iquip.nl \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).