Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having difficulty with tar on a headless Ubuntu Server 12:

ubuntu@domU-12-31-39-02-C0-98:~$ wget -o dropbox.tar.gz ""
ubuntu@domU-12-31-39-02-C0-98:~$ tar -xzvf dropbox.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

If I download the file on Windows, I can unpack it with 7-zip just fine. What am I doing wrong with tar?

share|improve this question
up vote 2 down vote accepted

The -o option of wget specifies where to put the log file.

You'll find that your dropbox.tar.gz is a plain text file containing diagnostic messages from wget.

Try this:

wget -O dropbox.tar.gz ""
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .