Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2008 12:16:12 -0000 (GMT)
From:      jhall@vandaliamo.net
To:        freebsd-questions@freebsd.org
Subject:   Capturing tar output
Message-ID:  <53798.66.84.183.146.1221048972.squirrel@admintool.trueband.net>

next in thread | raw e-mail | index | archive | help
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







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53798.66.84.183.146.1221048972.squirrel>