Date: Mon, 30 Jun 2014 13:03:59 +0700 From: Olivier Nicole <olivier.nicole@cs.ait.ac.th> To: Gary Kline <kline@thought.org> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: long string using find and "-exec ls -ls" to find part-of filename Message-ID: <CA%2Bg%2BBvh%2BDk0iYCjbGKVt59-nfDoCFQ6qmArrJu7ueaT7VzDi1g@mail.gmail.com> In-Reply-To: <20140630053004.GB16901@ethic.thought.org> References: <20140630045605.GA11147@ethic.thought.org> <53B0EFF2.80205@calorieking.com> <CA%2Bg%2BBvg1=o71ObOpbh4ry-=unj2HOjjmcQHX1DOeAfwyhLu=QQ@mail.gmail.com> <20140630053004.GB16901@ethic.thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Gary, On Mon, Jun 30, 2014 at 12:30 PM, Gary Kline <kline@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 > > >> > 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. > > > _______________________________________________ > 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bg%2BBvh%2BDk0iYCjbGKVt59-nfDoCFQ6qmArrJu7ueaT7VzDi1g>