Home » Questions » Computers [ Ask a new question ]

Saving a text file from web to local from Linux command line

Saving a text file from web to local from Linux command line

I have several text files I'm wanting to grab from a web server at school and save them to my my local using a command line interface. This is not a homework problem, just me trying to do something tedious in an efficient way. So I have two things I'm trying to do:

Asked by: Guest | Views: 303
Total answers/comments: 2
Guest [Entry]

"wget is a good tool, and can recursively grab files from a webserver.

wget -r 'http://url/'"
Guest [Entry]

"A simple way to download webpage recursively.

wget -r -p -k -c -np URL

say if you want to omit zip, tar.gz and rar files

wget -r -p -k -c -np -R zip,gz,rar URL

or you could use httrack, which has GUI (native and web) for configuration (like filter rules)."