Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Preventing "no matches found:"
- X-seq: zsh-users 9127
- From: Jos Backus <jos@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Preventing "no matches found:"
- Date: Fri, 22 Jul 2005 16:01:17 -0700
- In-reply-to: <EC7D91E9-B014-405A-9BC0-A4BCEFB1E24A@xxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <EC7D91E9-B014-405A-9BC0-A4BCEFB1E24A@xxxxxxx>
- Reply-to: jos@xxxxxxxxxxx
On Fri, Jul 22, 2005 at 03:24:31PM -0700, Tim McNerney wrote:
> rm ~/log/**/*.log(m+7)
>
> and would like to avoid the message:
>
> no matches found: ~/log/**/*.log(m+7)
You could try this:
% setopt nullglob
% echo ~/log/**/*.log(m+7) | xargs rm
--
Jos Backus
jos at catnook.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author