From owner-freebsd-questions@FreeBSD.ORG Mon Jun 30 04:57:40 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 50D738F for ; Mon, 30 Jun 2014 04:57:40 +0000 (UTC) Received: from p3plsmtpa11-07.prod.phx3.secureserver.net (p3plsmtpa11-07.prod.phx3.secureserver.net [68.178.252.108]) by mx1.freebsd.org (Postfix) with ESMTP id 212812B10 for ; Mon, 30 Jun 2014 04:57:39 +0000 (UTC) Received: from ethic.thought.org ([209.180.213.209]) by p3plsmtpa11-07.prod.phx3.secureserver.net with id LUw01o0054XeM0101Uw1Gq; Sun, 29 Jun 2014 21:56:01 -0700 Date: Sun, 29 Jun 2014 21:56:05 -0700 From: Gary Kline To: FreeBSD Mailing List Subject: long string using find and "-exec ls -ls" to find part-of filename Message-ID: <20140630045605.GA11147@ethic.thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2014 04:57:40 -0000 ===== 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@thought.org http://www.thought.org Public Service Unix Twenty-seven years of service to the Unix community.