From owner-freebsd-questions Sun Sep 22 20:16:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9234B37B401 for ; Sun, 22 Sep 2002 20:16:50 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF56A43E42 for ; Sun, 22 Sep 2002 20:16:49 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.5) id g8N3Gn0m018482; Sun, 22 Sep 2002 22:16:49 -0500 (CDT) (envelope-from dan) Date: Sun, 22 Sep 2002 22:16:49 -0500 From: Dan Nelson To: Peter Leftwich Cc: FreeBSD Questions LIST Subject: Re: using xargs to untar Message-ID: <20020923031649.GF30383@dan.emsphone.com> References: <20020922201022.R2138-100000@dhcp-407-32.san.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020922201022.R2138-100000@dhcp-407-32.san.rr.com> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Sep 22), Peter Leftwich said: > # ls -al *.tgz > -rw-r--r-- 1 root wheel 358995 Sep 22 18:25 z_flash-0.4.10.tgz > -rw-r--r-- 1 root wheel 27711 Sep 22 18:35 z_plugger-4.0.tgz > -rw-r--r-- 1 root wheel 309395 Sep 22 18:16 z_yelp-1.0.6.tgz > > # find . -type f > ./z_flash-0.4.10.tgz > ./z_yelp-1.0.6.tgz > ./z_plugger-4.0.tgz > > # find . -type f | xargs -J G tar zxf G > tar: ./z_yelp-1.0.6.tgz not found in archive > tar: ./z_plugger-4.0.tgz not found in archive try find . -type f | xargs -n 1 tar zxf or find . -type f -exec tar zxf "{}" ";" -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message