Redirect / Pipe wget download directly into gunzip

gunzip, linux

Solution

Try

  wget -O - ftp://ftp.direcory/file.gz | gunzip -c > gunzip.out

Read more the wget documentation.

Problem

I want to download and to gunzip file. ``` wget ftp://ftp.direcory/file.gz gunzip file.gz ``` Works fine. However I want to simplify such command and tried this: ``` gunzip <(wget ftp://ftp.direcory/file.gz) ``` wget downloads file, but gunzip task doesn't start. Where is my mistake?

Original source