I want to download files such as txt, exe, directories, etc . from the URL link http://www.xxx.xx/xx/
by using wget in linux.
Currently, I am using wget http://www.xxx.xx/xx/
and then I am specifying each file name alone.
What is the option used in wget to download all specified files on that repository?
Furthermore, When I am copying file “server.cpp” with wget to the my local host in the specified location it is making a new file with the name of server.cpp.1 rather than replacing it.
So, how to copy and replace all files by using wget in linux debian?