Capturing tar output

jhall at jhall at
Thu Sep 11 01:41:13 UTC 2008

> redirect stderr with "2>" operator
Using the following command,
# /usr/local/gtar/bin/tar -cvf - /home/hallja 2 > /var/log/test.txt |
/usr/local/bin/gpg --encrypt "recipient" | dd of=/dev/nsa0 obs=128k

I receive an error meesage stating, "Ambiguous output redirect."

Any additional suggestions would be appreciated.

Thanks for all your help.


More information about the freebsd-questions mailing list