tar xvfz e -xvfc ambos não funcionaram no Cygwin no Windows

0

Eu tentei tar com xvfz e -xvfc ambos não funcionavam no Cygwin no Windows.

$ tar xvfz sshpass-1.0.5.tar.gz
tar (child): sshpass-1.0.5.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

Aqui cmd tar com '-'

$ tar -xvfz sshpass-1.0.5.tar.gz
tar: z: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

Pergunta: 1. Como o tar funciona com - ou sem _?

Por favor, sugira que execute tar -xvfz sshpass-1.0.5.tar.gz.

    
por Santosh 21.01.2016 / 11:27

1 resposta

0

Muito obrigado @ dave_thompson_085 pela sua rápida sugestão. Trabalhou sem -

$ tar xvfz sshpass-1.05.tar.gz
sshpass-1.05/
sshpass-1.05/COPYING
sshpass-1.05/AUTHORS
sshpass-1.05/aclocal.m4
sshpass-1.05/INSTALL
sshpass-1.05/Makefile.am
sshpass-1.05/configure.ac
sshpass-1.05/install-sh
sshpass-1.05/Makefile.in
sshpass-1.05/sshpass.1
sshpass-1.05/configure
sshpass-1.05/depcomp
sshpass-1.05/README
sshpass-1.05/NEWS
sshpass-1.05/config.h.in
sshpass-1.05/missing
sshpass-1.05/main.c
sshpass-1.05/ChangeLog
    
por 21.01.2016 / 12:53