I'm downloading a large file that's not an archive, and I want to combine the tasks of downloading and decompressing.
How can I do them simultaneously?
The question is tagged with curl but the answer only uses wget.
With curl it's a little easier than wget because it can request compression and decompress without piping (url truncated for clarity).
Where bunzip2 is an unzipping command for your compression format of choice. It must support piped input. And the file must be a single compressed file, not an archive.
It uses wget to pipe the downloaded file to the unzipping application, outputting to the specified filename.