Date: Wed, 10 Sep 2008 21:17:16 +0200 (CEST) From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> To: jhall@vandaliamo.net Cc: freebsd-questions@freebsd.org Subject: Re: Capturing tar output Message-ID: <20080910211651.Q48125@wojtek.tensor.gdynia.pl> In-Reply-To: <53798.66.84.183.146.1221048972.squirrel@admintool.trueband.net> References: <53798.66.84.183.146.1221048972.squirrel@admintool.trueband.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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. redirect stderr with "2>" operator
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080910211651.Q48125>