zsh-users
 help / color / mirror / code / Atom feed
From: fg <francis@mandrakesoft.com>
To: Claus Alboege <tractrix@kom.auc.dk>
Cc: zsh-users@sunsite.auc.dk
Subject: Re: rm -r
Date: 20 Dec 1999 17:28:20 +0100	[thread overview]
Message-ID: <m27li91srf.fsf@toy.mandrakesoft.com> (raw)
In-Reply-To: Claus Alboege's message of "Mon, 20 Dec 1999 16:31:34 +0100"

Claus Alboege <tractrix@kom.auc.dk> writes:

> Hi,
> 
> Could anyone tell me a way to make the following work from a z-shell:
> 
> rm -rf *.o (this dosn't work)
> 
> What I want is to remove all .o files recursive , but the "-r switch" in
> the above isn't a correct way to do it.
> 

find -type f -name "*.o" -exec rm -f {} \;

Or:

rm -f **/*.o with zsh's goodies, But you'll get a "blah.o: is a
directory" message if you have directories which names end with ".o"


-- 
fg

# rm *;o
o: command not found


  parent reply	other threads:[~1999-12-21 14:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-20 15:31 Claus Alboege
1999-12-20 15:41 ` Vincent Lefevre
1999-12-20 15:43 ` Clint Adams
1999-12-20 16:13 ` Pascal Byrne
1999-12-20 16:28 ` fg [this message]
1999-12-21 14:31   ` Andre Pang
1999-12-21 18:52     ` fg
1999-12-22  3:51       ` Andre Pang
1999-12-22  9:58       ` Thomas Köhler
1999-12-22 13:12         ` Alexandre Duret-Lutz
1999-12-22 13:24           ` Thomas Köhler
1999-12-23  0:15           ` Geoff Wing

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=m27li91srf.fsf@toy.mandrakesoft.com \
    --to=francis@mandrakesoft.com \
    --cc=tractrix@kom.auc.dk \
    --cc=zsh-users@sunsite.auc.dk \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).