I am looking for a way to permanently remove the .wget-hsts
in my home directory.
There is an optional tag that can be added per-wget request to not store history, however, that option needs to be added every time wget is used.
Is there some sort of environment variable or other configuration that will allow me to disable the writing to .wget-hsts
?
It appears that as of now, the .wgetrc option is working in Debian. Option for ~/.wgetrc is simply.
hsts=0
As of now, the answer appears to be no. The workaround I placed in my .bashrc
:
alias wget="wget --hsts-file ~/dotfiles/config/wget/wget-hsts"
This question was asked on the mailing list and the respondent suggested modifying the command in the .wgetrc, but as of this answer there is no documented hsts-file
command over at https://www.gnu.org/software/wget/manual/html_node/Wgetrc-Commands.html, and my attempts to try and set it there anyway were unsuccessful (received an error message).
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