TECHIES WORLD

For Techs.... Techniques.... Technologies....

AWSBashLinux

How to overwrite existing file when download using wget

Wget command will not overwrite existing files by-default. Instead of that it will download the same file to another name.

But there is an option to overwrite existing file when download using wget.

#wget -O filename url

Where filename and url need to be replaced with the corresponding values.

That's all…