You are not logged in.
I want to download all files and folders from this directory https://doc.lagout.org/science/ except the folder with the name ComputerScience. How can i exclude that folder from being downloaded using wget ?
I tried something like this:
wget -r -np -R "index.html*" -e robots = off -X https://doc.lagout.org/science/0_Computer%20Science/ https://doc.lagout.org/science/
but it starts downloading everything.
Offline
Offline
I'm a beginner to GNU/Linux and what i first heard about downloading files using the terminal was with "wget". I'm somewhat familiar with it haven't heard about rsync but i will read the documentation. Do you mind writing a prototype or which options should i use ?
Offline
You should not give the URL to exclude, but only the path like -X "science/0_Computer Science"
Edit: rsync won't work if you only have access via http.
Last edited by progandy (2019-09-21 12:09:46)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Yeah i also tried it like that, but i finally found the answer the problem was that because of it not being connected (two words) i had to write a slash '\' for example: "science/0_Computer\ Science". Took me far too long .
Offline
http://www.grymoire.com/Unix/Quote.html
Last edited by progandy (2019-09-21 13:00:15)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline