I know I can download files from Dropbox with wget by replacing dl=0 to dl=1 (e.g. this post).

What I' am wondering is if I have a link to a shared folder on Dropbox can download specific files within a shared folder using wget? Or do I have to create shared links to each individual file?


Good question. While you cannot modify the link, you can use --accept option.

wget --no-check-certificate -r --level 3 --accept "beach_photo.jpg" "https://www.dropbox.com/sh/...?dl=1"

You can use asteriks as a joker value, like "beach_photo.*" or "*.mp4"

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.