2 ms·
To download all of the pdfs into the current directory: wget -r -np -nd -l 1 -A pdf https://math.mit.edu/~shor/435-LN/ (There might be more elegant ways, bu
by FabHK 3y ago
To download all of the pdfs into the current directory:
wget -r -np -nd -l 1 -A pdf https://math.mit.edu/~shor/435-LN/
(There might be more elegant ways, but this does the job.)
-r, --recursive specify recursive download.
-np, --no-parent don't ascend to the parent directory.
-l, --level=NUMBER maximum recursion depth (inf or 0 for infinite).
-A, --accept=LIST comma-separated list of accepted extensions.
-nd, --no-directories Do not create a hierarchy of directories