zsh-users
 help / color / mirror / code / Atom feed
* ignoring files with **/*(.om[1,20])
@ 2013-07-11 15:30 zzapper
  2013-07-11 16:21 ` Philippe Troin
  2013-07-11 16:22 ` Peter Stephenson
  0 siblings, 2 replies; 5+ messages in thread
From: zzapper @ 2013-07-11 15:30 UTC (permalink / raw)
  To: zsh-users

(sorry setting up a new xnews newsreader so may have already sent this)


ls **/*(.om[1,20])  # 20 newest files anywhere

how can I exclude say vssver.scc files


zzapper



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ignoring files with **/*(.om[1,20])
  2013-07-11 15:30 ignoring files with **/*(.om[1,20]) zzapper
@ 2013-07-11 16:21 ` Philippe Troin
  2013-07-11 16:38   ` zzapper
  2013-07-11 16:22 ` Peter Stephenson
  1 sibling, 1 reply; 5+ messages in thread
From: Philippe Troin @ 2013-07-11 16:21 UTC (permalink / raw)
  To: zsh-users

On Thu, 2013-07-11 at 15:30 +0000, zzapper wrote:
> ls **/*(.om[1,20])  # 20 newest files anywhere
> 
> how can I exclude say vssver.scc files

ls **/^vssver.scc(.om[1,20])

Phil.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ignoring files with **/*(.om[1,20])
  2013-07-11 15:30 ignoring files with **/*(.om[1,20]) zzapper
  2013-07-11 16:21 ` Philippe Troin
@ 2013-07-11 16:22 ` Peter Stephenson
  1 sibling, 0 replies; 5+ messages in thread
From: Peter Stephenson @ 2013-07-11 16:22 UTC (permalink / raw)
  To: zsh-users

On Thu, 11 Jul 2013 15:30:59 +0000 (UTC)
zzapper <david@rayninfo.co.uk> wrote:
> ls **/*(.om[1,20])  # 20 newest files anywhere
> 
> how can I exclude say vssver.scc files

  setopt extendedglob
  ls **/^vssver.scc(.om[1,20])

ought to do it.

pws


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ignoring files with **/*(.om[1,20])
  2013-07-11 16:21 ` Philippe Troin
@ 2013-07-11 16:38   ` zzapper
  2013-07-11 17:00     ` zzapper
  0 siblings, 1 reply; 5+ messages in thread
From: zzapper @ 2013-07-11 16:38 UTC (permalink / raw)
  To: zsh-users

Philippe Troin <phil@fifi.org> wrote in 
news:1373559700.19343.3.camel@air.home.fifi.org:

> ls **/^vssver.scc(.om[1,20])

Philippe yep that works also what I eventually worked out

> ls -lt **/*~*vssver.scc(.om[1,20]) 

seem to be identical

zzapper


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ignoring files with **/*(.om[1,20])
  2013-07-11 16:38   ` zzapper
@ 2013-07-11 17:00     ` zzapper
  0 siblings, 0 replies; 5+ messages in thread
From: zzapper @ 2013-07-11 17:00 UTC (permalink / raw)
  To: zsh-users

zz
> 
>> ls **/^vssver.scc(.om[1,20])
> 
> Philippe yep that works also what I eventually worked out
> 
>> ls -lt **/*~*vssver.scc(.om[1,20]) 
> 
and to push the boat a bit further out

ls -lt **/^(vssver.scc|*.ini)(.om[1,20])

zzapper



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-07-11 17:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-11 15:30 ignoring files with **/*(.om[1,20]) zzapper
2013-07-11 16:21 ` Philippe Troin
2013-07-11 16:38   ` zzapper
2013-07-11 17:00     ` zzapper
2013-07-11 16:22 ` Peter Stephenson

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).