iw2evk
Magenta (Italy), 07.04.2019, 17:34 |
trick for use gdrive in DOS (Users) |
Hi guys,
soome une know how use Google drive on dos?
exist some package for workaround ?
Thanks
Roberto |
KormaX
07.04.2019, 18:28
@ iw2evk
|
trick for use gdrive in DOS |
I have written a small executable which converts the Google Drive URL's to direct file URL's. I can publish it if you would like, like my Youtube package, but it is just one binary. By the way, in most cases, the goal is to convert an URL like
"https://drive.google.com/file/d/FILE_ID/edit?usp=sharing"
into something like
"https://drive.google.com/uc?export=download&id=FILE_ID" --- DOS isn't about why. It's about why not. |
iw2evk
Magenta (Italy), 11.04.2019, 10:56
@ KormaX
|
trick for use gdrive in DOS |
Yes, can you post this convert utility?
Thanks
Roberto |
KormaX
17.04.2019, 11:10
@ iw2evk
|
trick for use gdrive in DOS |
Hi!
Here: http://www.verzohold.gportal.hu/portal/verzohold/upload/658853_1555491267_00578.exe
Sorry for being late. I call it GDrive.exe, but this site renamed it... you can also renamed it as you wish. The only important thing is that your Google Drive URL must be saved in a file "Google.Drive". Sorry for the long filename, but it is compiled with DJGPP, so if no LFN driver is loaded on your DOS, probably "GOOGLE~1.DRI" will also work. The new url is simply appears as a standard output, you sould redirect it to a custom html file (for example "GDRIVE > 1.HTM). I use these utils in batch files as plugins for Links. For example I save my clipboard with the Googledrive URL as Google.Drive then execute the batch from Links with the "magnet: " trick, and then I open the newly created html file and follow the link to the file. This only works with files, Google does not provide direct URLs to directories.
> Yes, can you post this convert utility?
>
> Thanks
>
> Roberto --- DOS isn't about why. It's about why not. |