Do not overuse it, or your account might be banned by Heroku.
- Setup Rclone locally by following offical instructions: https://rclone.org/docs/
- Find your
rclone.conf
file, it should look like this:
[DRIVENAME]
type = WHATEVER
client_id = WHATEVER
client_secret = WHATEVER
scope = WHATEVER
token = WHATEVER
others entries...
- Find the drive you want to use, and copy its
type = ...
to... token = ...
section. - Base64 encode it https://www.base64encode.org
- Deploy with the button above, and paste that text in
RCLONE_CONFIG_BASE64
- Set
RCLONE_DESTINATION
to a path you want to store your downloaded files.
It is because Heroku's free dyno will idle when there is no incoming request within 30 minutes, and your files will be deleted too, this is why you might want to use Rclone.
No. Just wait for its idling, and your files will be deleted.
It will generate fake requests when there are downloading or uploading tasks, so it won't idle when your files aren't completed.
No. I thought the instructions above are enough.