long string using find and "-exec ls -ls" to find part-of filename

Gary Kline kline at thought.org
Mon Jun 30 06:14:02 UTC 2014


=====
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 01:03:59PM +0700, Olivier Nicole wrote:
> Gary,
> 
> On Mon, Jun 30, 2014 at 12:30 PM, Gary Kline <kline at thought.org> wrote:
> > =====
> > 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. :_)
> 
> And 33 keystrokes to complain for the extra 4s! And I did not count
> the line break and click on "send" :)
> 
> Olivier
> 
> >         gary
> >

	best laff entire day!   but ive used mutt for years so a :wq 
	or ":x" and  <cr>; no  click.  o'wise, you're right.

	gary

> >> > freebsd-questions at freebsd.org mailing list
> >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> >
> > --
> >  Gary Kline  kline at thought.org  http://www.thought.org  Public Service Unix
> >              Twenty-seven years of service to the Unix community.
> >
> >
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

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




More information about the freebsd-questions mailing list