Linux wget Dropbox public link

Table of Contents

Linux wget Dropbox public link

Just add ?dl=1 at the end of the link! For example:

That should give you a fine retrieval of the file in question without adding anything to the file.

One more thing! If you wanna save the file somewhere else use the -O option like this

wget -O /root/Desktop/test.txt ""

And if you want to have a little bit of GUI you can use zenity to mark the location to where the file is going to be downloaded!

Here's an example code:

dir=$(zenity --file-selection --directory)
wget -O $dir/test.txt ""

My testing


Leave a Reply

Your email address will not be published. Required fields are marked *