Date: Wed, 10 Sep 2008 14:20:58 +0000 From: m0rchand@comcast.net (Tom Marchand) To: freebsd-questions@freebsd.org Subject: Re: Capturing tar output Message-ID: <091020081420.17624.48C7D7CA0001CD2E000044D822007358340B020E080C9DCF03@comcast.net>
next in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?091020081420.17624.48C7D7CA0001CD2E000044D822007358340B020E080C9DCF03>