Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2014 12:09:04 +0700
From:      Olivier Nicole <olivier.nicole@cs.ait.ac.th>
To:        Gregory Orange <gregory.orange@calorieking.com>
Cc:        Gary Kline <kline@thought.org>, 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%2BBvg1=o71ObOpbh4ry-=unj2HOjjmcQHX1DOeAfwyhLu=QQ@mail.gmail.com>
In-Reply-To: <53B0EFF2.80205@calorieking.com>
References:  <20140630045605.GA11147@ethic.thought.org> <53B0EFF2.80205@calorieking.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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

>
> _______________________________________________
> 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%2BBvg1=o71ObOpbh4ry-=unj2HOjjmcQHX1DOeAfwyhLu=QQ>