Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASK BRO #7

Closed
nikolaibarbravas opened this issue Jun 20, 2020 · 5 comments
Closed

ASK BRO #7

nikolaibarbravas opened this issue Jun 20, 2020 · 5 comments

Comments

@nikolaibarbravas
Copy link

This tools can download shared file ? im not owner .

@segnolin
Copy link
Owner

You can download it once the content is in the “Shared with me” section. You don’t have to be the owner.

@nikolaibarbravas
Copy link
Author

yes bro this script working good. but if the file on drive example the size is 10tb and my hardisk only 1tb when im download that i just got 1tb and -9 not downloaded. so if i cut my downloaded file to another drive and resume the 9tb its can bro or start from 0 again ? sorry bad english...
and the simple thing actualy i need google migrator .. ( shared file) copy to my own drive bro. if you can make it please. because im trying tools on chrome store thats cant resume after got limit 750gb/day.. force close

@nikolaibarbravas
Copy link
Author

shared file) copy to my own google drive bro

@segnolin
Copy link
Owner

yes bro this script working good. but if the file on drive example the size is 10tb and my hardisk only 1tb when im download that i just got 1tb and -9 not downloaded. so if i cut my downloaded file to another drive and resume the 9tb its can bro or start from 0 again ? sorry bad english...
and the simple thing actualy i need google migrator .. ( shared file) copy to my own drive bro. if you can make it please. because im trying tools on chrome store thats cant resume after got limit 750gb/day.. force close

Currently there is no support for such function, but I have some tricks.

  • You can create empty file with the same file name as the downloaded one, so the script would think that the files are already downloaded and start to download the new files.
  • Or, you can remove one line code os.remove(location + filename) so the script won't automatically remove incomplete file so that you can Ctrl+C the script several times to create empty file in order to trick the script as the above mentioned.

@segnolin
Copy link
Owner

shared file) copy to my own google drive bro

I do have the script (Google App Script) to do such thing, but you have to figure out the environment settings of app script or so. I cannot help a lot. After all this topic is already digression.

This script is not stable, so use it at your own risk. In addition, the script would timeout if you have too many files to copy (the limit is 1800s if I remember).

I might repost the code somewhere else once I think it's stable enough, so the above link is temporary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants