Using command "curl -LkSs https://[email protected]:gcce/info.git -o master.tar.gz" I am expecting to download the info.git directory from github in the master.tar.gz. However, when I do "tar -xzvf master.tar.gz" I get error
"gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now"
I have also tried tar -zvf, the error remains there. Appreciate your response.
curlcommand, you are literally just piping the raw output into a file with a.tar.gzextension, without actually archiving / compressing it. Open it with VIM or another text editor and I assume you will see plain text. You will need to modify your command to actually do the archive / compression. - Matt Clark