TgFolderClone
Telegram bot for using folderclone
Usage
- Follow instructions at https://github.com/Spazzlo/folderclone on how to create SA accounts.
- Copy the .json files to accounts folder.
- Rename
config.py.sample
toconfig.py
. - Edit the values in
config.py
. - Run
py folderclone.py
.
Usage in telegram bot
/clone <source_id> <dest_id> <thread>
source_id
- Drive ID of the folder you want to copy from. (Required)
dest_id
- Drive ID of the folder you want to copy into. (Required)
thread
- Amount of threads to use. The higher the more resource it requires. Default - 10
Note
folderclone.py
- Modified version of multifolderclone.py
from https://github.com/Spazzlo/folderclone
Deploying to Heroku
Concerning thread number
Recommended thread number for heroku is 25.
40 will cause occasional RAM over usage and stall the app.
50 if you want to risk your app hanging.
Anything above 50 will more likely crash the app.