From owner-freebsd-questions@FreeBSD.ORG Thu Sep 11 06:15:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EF9B106567D for ; Thu, 11 Sep 2008 06:15:13 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7583D8FC14 for ; Thu, 11 Sep 2008 06:15:11 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m8B6F5pB011108; Thu, 11 Sep 2008 08:15:05 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m8B6F4Eu011105; Thu, 11 Sep 2008 08:15:05 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 11 Sep 2008 08:15:04 +0200 (CEST) From: Wojciech Puchar To: jhall@vandaliamo.net In-Reply-To: <50349.66.84.183.146.1221097271.squirrel@admintool.trueband.net> Message-ID: <20080911081428.Q11077@wojtek.tensor.gdynia.pl> References: <53798.66.84.183.146.1221048972.squirrel@admintool.trueband.net> <20080910211651.Q48125@wojtek.tensor.gdynia.pl> <50349.66.84.183.146.1221097271.squirrel@admintool.trueband.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Capturing tar output X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2008 06:15:13 -0000 no space between 2 and > with space you started /usr/local/gtar/bin/tar -cvf - /home/hallja 2 and redirected stdout to /var/log/test.txt while trying to pipe the output too to gpg On Thu, 11 Sep 2008, jhall@vandaliamo.net wrote: >> >> redirect stderr with "2>" operator >> > Using the following command, > # /usr/local/gtar/bin/tar -cvf - /home/hallja 2 > /var/log/test.txt | > /usr/local/bin/gpg --encrypt "recipient" | dd of=/dev/nsa0 obs=128k > > I receive an error meesage stating, "Ambiguous output redirect." > > Any additional suggestions would be appreciated. > > Thanks for all your help. > > > Jay > >