From owner-freebsd-questions@FreeBSD.ORG Wed Sep 10 19:18:01 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 5F15A106566B for ; Wed, 10 Sep 2008 19:18:01 +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 529798FC19 for ; Wed, 10 Sep 2008 19:17:59 +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 m8AJHmWP048142; Wed, 10 Sep 2008 21:17:48 +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 m8AJHk0N048139; Wed, 10 Sep 2008 21:17:47 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 10 Sep 2008 21:17:46 +0200 (CEST) From: Wojciech Puchar To: Tom Marchand In-Reply-To: <091020081420.17624.48C7D7CA0001CD2E000044D822007358340B020E080C9DCF03@comcast.net> Message-ID: <20080910211729.T48125@wojtek.tensor.gdynia.pl> References: <091020081420.17624.48C7D7CA0001CD2E000044D822007358340B020E080C9DCF03@comcast.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: Wed, 10 Sep 2008 19:18:01 -0000 > > /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 > this will duplicate data, not filenames > > > -------------- 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" > > _______________________________________________ > 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" > >