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

Gary Kline kline at thought.org
Mon Jun 30 04:57:40 UTC 2014


=====
Organization: Thought Unlimited.  Public service Unix since 1986.
Of_Interest: With 27++ years  of service  to the  Unix  community.


a	well, it's not in any of my help files so -questions is 
the best place..  time to ask here:

how, using the find utility and no temp files, can I get a ls -lsi
listing of something like:

	"foo.tar"  andOr 
	"foo.tgz" andOr
	"foo.tar.gz"

	ive tried using -exec `ls -lsi` {} \; and xargs, and a whole
	lotsa variants.  I be beyond fried.  foo!

	gary



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