zsh-users
 help / color / mirror / code / Atom feed
From: "Hoji, Akihiko" <akh22@pitt.edu>
To: "zsh-users@zsh.org" <zsh-users@zsh.org>
Subject: newbie rm --^file question
Date: Sun, 25 Dec 2016 19:22:18 +0000	[thread overview]
Message-ID: <D6F66860-3528-4A5F-B5E0-7A25C1E6458E@pitt.edu> (raw)

Hi, 


I am trying to delete all the files except a few files having the same file extension.  I did the following;

setopt extended glob
rm -rf —^file.ext.*

This gives an error message, “zsh, no matches found:”

I would appreciate a poster as to what I am doing wrong. 

Thanks in advance. 

AH

             reply	other threads:[~2016-12-25 19:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-25 19:22 Hoji, Akihiko [this message]
2016-12-25 20:45 ` Gabor Maghera
2016-12-25 20:49   ` Hoji, Akihiko
2016-12-25 20:51     ` Gabor Maghera
2016-12-25 21:10 ` Bart Schaefer
2016-12-25 21:49   ` Akihiko Hohji
2016-12-25 22:47     ` Gabor Maghera
2016-12-25 23:02       ` Akihiko Hohji
2016-12-27 20:23         ` Roman Neuhauser

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=D6F66860-3528-4A5F-B5E0-7A25C1E6458E@pitt.edu \
    --to=akh22@pitt.edu \
    --cc=zsh-users@zsh.org \
    /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).