Flanas/termux-gdrive-uploader ? reverse-engineered prompt
Reverse engineered prompt
Build me a Termux script for Android that automatically uploads files from a local folder to a chosen Google Drive folder. I want it to be easy to run from the command line, guide me through the setup, and handle the annoying parts for me like getting permissions, connecting to Google Drive, and refreshing expired login tokens when needed.
It should be able to run in the background on a schedule so new files keep getting uploaded without me having to babysit it. If it helps, include a simple way to keep Termux awake during long uploads, and make sure the script works even if the file was edited on Windows and needs line ending fixes.
If you can, also make the setup friendly for someone not super technical, with clear prompts for my source folder, destination folder, and Google credentials, and look up current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit