From owner-freebsd-questions@FreeBSD.ORG Wed Sep 10 14:20:59 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 CC76C1065675 for ; Wed, 10 Sep 2008 14:20:59 +0000 (UTC) (envelope-from m0rchand@comcast.net) Received: from QMTA03.emeryville.ca.mail.comcast.net (qmta03.emeryville.ca.mail.comcast.net [76.96.30.32]) by mx1.freebsd.org (Postfix) with ESMTP id B2B838FC0A for ; Wed, 10 Sep 2008 14:20:59 +0000 (UTC) (envelope-from m0rchand@comcast.net) Received: from OMTA06.emeryville.ca.mail.comcast.net ([76.96.30.51]) by QMTA03.emeryville.ca.mail.comcast.net with comcast id CyFH1a00C16AWCUA32LzuT; Wed, 10 Sep 2008 14:20:59 +0000 Received: from rmailcenter05.comcast.net ([204.127.197.115]) by OMTA06.emeryville.ca.mail.comcast.net with comcast id D2Ly1a00F2VsECU8S2LyqB; Wed, 10 Sep 2008 14:20:58 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=MGEp5crgfKlZay5IXHUA:9 a=kFBBi4cre-mmDyJP8gAA:7 a=SWAgHVUrwnpDQumYJ9e4KmB5kZwA:4 a=g9lUHWKXypEA:10 a=SV7veod9ZcQA:10 a=8UL1S1SzPDgA:10 Received: from [157.174.221.168] by rmailcenter05.comcast.net; Wed, 10 Sep 2008 14:20:58 +0000 From: m0rchand@comcast.net (Tom Marchand) To: freebsd-questions@freebsd.org Date: Wed, 10 Sep 2008 14:20:58 +0000 Message-Id: <091020081420.17624.48C7D7CA0001CD2E000044D822007358340B020E080C9DCF03@comcast.net> X-Mailer: AT&T Message Center Version 1 (Oct 30 2007) X-Authenticated-Sender: bTByY2hhbmRAY29tY2FzdC5uZXQ= 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: Wed, 10 Sep 2008 14:20:59 -0000 Trying using tee something like this: /usr/local/gtar/bin/tar -C /usr/home/photos --listed-incremental \ /var/db/photos.snar -cvf - ./ |tee outfile| /usr/local/bin/gpg --encrypt --recipient \ "recipient" | dd of=/dev/nsa0 obs=128K -------------- Original message ---------------------- From: jhall@vandaliamo.net > Ladies and Gentlemen, > > I am using the following command to perform backups each evening. > > /usr/local/gtar/bin/tar -C /usr/home/photos --listed-incremental \ > /var/db/photos.snar -cvf - ./ | /usr/local/bin/gpg --encrypt --recipient \ > "recipient" | dd of=/dev/nsa0 obs=128K > > Since I am having tar write the output of the command to stdout is it > possible to capture the names of the files being displayed as a result of > the -v option? > > If so, how can this be done? I am not having any luck. > > Thanks, > > > Jay > > > > > _______________________________________________ > 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"