'wget now automatically redirecting output to a log file, how to return back to putting output below
Whenever I used wget, the output and progress of the download would be displayed below.
I just tried using it today, and it only says 'Redirecting output to ‘wget-log.4’.'
Is there a way to bring it back to how it used to be?
Here's an example when I would run it in python 3
!pip install wget
!wget -i https://s3-us-west-2.amazonaws.com/ai2-s2-research-public/open-corpus/corpus-2018-05-03/s2-corpus-01.gz
Redirecting output to ‘wget-log.4’.
Solution 1:[1]
This feature was introduced in wget
v1.19 and is triggered under various circumstances. It is generally considered a bug, see GNU Wget bug #51181: Unexpected "Redirecting output to 'wget-log'.". A reliable workaround is to add -o /dev/null
.
Solution 2:[2]
I had the same problem in the linux terminal. Try using wget -q
-q in the first flag, as in "quiet", not creating the wget-log file.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | xebeche |
Solution 2 | Matias Ferreyra |