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?
Try
wget -O - ftp://ftp.direcory/file.gz | gunzip -c > gunzip.out
Read more the wget documentation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With