Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jun 2014 22:30:05 -0700
From:      Gary Kline <kline@thought.org>
To:        Olivier Nicole <olivier.nicole@cs.ait.ac.th>
Cc:        Gregory Orange <gregory.orange@calorieking.com>, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: long string using find and "-exec ls -ls" to find part-of filename
Message-ID:  <20140630053004.GB16901@ethic.thought.org>
In-Reply-To: <CA%2Bg%2BBvg1=o71ObOpbh4ry-=unj2HOjjmcQHX1DOeAfwyhLu=QQ@mail.gmail.com>
References:  <20140630045605.GA11147@ethic.thought.org> <53B0EFF2.80205@calorieking.com> <CA%2Bg%2BBvg1=o71ObOpbh4ry-=unj2HOjjmcQHX1DOeAfwyhLu=QQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=====
Organization: Thought Unlimited.  Public service Unix since 1986.
Of_Interest: With 27++ years  of service  to the  Unix  community.

On Mon, Jun 30, 2014 at 12:09:04PM +0700, Olivier Nicole wrote:
> > find . -name foo.tar -o -name foo.tgz -o -name foo.tar.gz|xargs ls -lsi
> 
> With parenthesis:
> 
> find . \( -name foo.tar -o -name foo.tgz -o -name foo.tar.gz \) |xargs ls -lsi
> 
> Olivier
> 
> >

	right! but 4 more keystrokes. :_)

	gary


> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

-- 
 Gary Kline  kline@thought.org  http://www.thought.org  Public Service Unix
             Twenty-seven years of service to the Unix community.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140630053004.GB16901>