Simple Google Drive Uploader。
This is my simple tool to upload files to Google drive automatically Basically I will use it on my Windows VPS to start uploading after getting files from internet
This tool mainly is based on rclone and its copy function and bat files are just simple code. You can freely change code according to your needs or contribute to my git.
Setup Rclone & download my script on linux x64:
wget https://raw.githubusercontent.com/leonguyen52/gduleo/master/linux-uploadmove.sh && chmod +x linux-uploadmove.sh
wget https://raw.githubusercontent.com/leonguyen52/gduleo/master/linux-uploadcopy.sh && chmod +x linux-uploadcopy.sh
wget https://raw.githubusercontent.com/leonguyen52/gduleo/master/linux-x64-setup.sh && chmod +x linux-x64-setup.sh && bash linux-x64-setup.sh
There are 2 parts on setting and using this tool as follow:
A - Setting Gdrive Permission Run Setup.bat
- Select "n" to create new profile, then type in "remote" for name
- Select "9" for Gdrive
- Enter to skip "client_id", "client_secret"
- Select "n" for skip auto config
- Open link shown on screen, login account to get verification code
- Paste verification code back and finish the installation
- Select "n" if it asks for team driver setup
B - Upload to Gdrive
- Put your files into "Upload" folder
- Run "GDU-Run.bat" to start uploading.
- Run "checklog.bat" to see status of uploading.
C - Extra
- If you want to create new 2nd connection then please add config in upload.bat
- This tool also can be used to upload to other hosts, it depends on rclone config so you can select other host while run Setup.bat
from https://github.com/leonguyen52/gduleo
No comments:
Post a Comment