Re: Capturing tar output

2008-09-11 Thread perryh
> > 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." Wojtek correc

Re: Capturing tar output

2008-09-11 Thread hv
Am 11.09.2008 um 03:41 schrieb [EMAIL PROTECTED]: 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, "Am

Re: Capturing tar output

2008-09-10 Thread Wojciech Puchar
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, [EMAIL PROTECTED] wrote: redirect stderr with "2>" operator Using the following command

Re: Capturing tar output

2008-09-10 Thread jhall
> > 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 suggestio

Re: Capturing tar output

2008-09-10 Thread Wojciech Puchar
/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 this will duplicate data, not filenames -- Original message -- F

Re: Capturing tar output

2008-09-10 Thread Wojciech Puchar
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 co

Re: Capturing tar output

2008-09-10 Thread Tom Marchand
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:

Capturing tar output

2008-09-10 Thread jhall
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