Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Preventing "no matches found:"



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