Capturing tar output
wojtek at wojtek.tensor.gdynia.pl
Thu Sep 11 06:15:13 UTC 2008
no space between 2 and >
with space you started
/usr/local/gtar/bin/tar -cvf - /home/hallja 2
and redirected stdout to /var/log/test.txt
while trying to pipe the output too to gpg
On Thu, 11 Sep 2008, jhall at vandaliamo.net wrote:
>> 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