Reputation: 1
I need to download a file from onedrive or google drive using wget or a faster method!
I've tried lots of code i could find on the internet but have not had any luck.
Upvotes: 0
Views: 257
Reputation: 17
This has worked for me to download a non-protected-link file:
https://.../EvZJeK2tIMOs54OA?<other-stuff>
download=1
after ?
looking like https://.../EvZJeK2tIMOs54OA?download=1
Now you can use it with wget
like:
wget https://.../EvZJeK2tIMOs54OA?download=1 -O <output-file-name\>.<extension\>
Note: The -O
(capital O
) is to define an output name otherwise it will have EvZJeK2tIMOs54OA?download=1
as the file name.
Upvotes: 1