문제

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top