On 19-Feb-2003 at 16:16:44 Aaron Konstam wrote:
> On Wed, Feb 19, 2003 at 06:11:53PM +0200, Jason Dale wrote:
>> 1) When I do a man page on 'tar', the screen comes up all garbled. I
>> believe 
>>      this was discussed on the list a while back, but I can't seem to
>>      find those mails
>>      that will shed some insight on why this is happening. Does this have
>>      something to
>>      do with the $TERM variable?
>> 
>> 2) I am using 'tar' to create a backup of a directory structure to
>> another Linux server
>>     on the same LAN. Here is a screen dump:
>> 
>> #  tar   -cvzf   -f  209.212.123.157:/usr/backups /tmp/testdir
>> 
>> Gives this output
>> 
>> tar: 209.212.123.157\:/usr/backups: Cannot stat: No such file or
>> directory
> I am unaware that tar will send a file to another machine as your
> are trying to do. This can be done using rsh or probably ssh but not
> directly. Also tar files for sanity sake should end in a .tar
> extension.
>
Yes it will. There is also the '--rsh-command' option which can be used to
specify ssh etc.

In the example above you have 'cvzf -f 209.' - note you have the 'f' option
twice :-)


John.

------------------------------------------------------------------------
John Horne, University of Plymouth, UK           Tel: +44 (0)1752 233914
E-mail: [EMAIL PROTECTED]
PGP key available from public key servers



-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to