Put simply, it regularly triggers GitHub Actions to execute a script that pair-wise iterates and runs rclone sync
over
defined drives.
rclonegclone 🎉- python3
- brain
- Create an
rclone.conf
file that complies with RClone. - Host it on some online paste bin. I personally use Secret Gists (yep, I’m obsessed with version control, how’d you guess?).
- Fork/mirror this repo.
- Go to the actions tab and enable workflows.
- Create a GitHub Secret called
CONF_URL
and set it's value as the link to the rclone config (make sure you copy the link to the "RAW Text"). - Edit the
from_drives
andto_drives
insync.py
as you wish. - The script is set to run every day at 6:30 AM UTC. Feel free to modify that
under
.github/workflows/sync.yaml
. If you want to start it manually, check the Notes underneath. - Profit 💯
- Generate the SA jsons and put them in a folder called
accounts
in your PC. - Zip the folder and name it as
accounts.zip
. - Upload it somewhere such that you can have a static direct download link (opening this link locally should directly start downloading the zip).
- Create a GitHub Secret called
SA_ZIP
and set it's value as the link to the SA zip.
- The
sync.sh
file is a bash equivalent of thesync.py
. If you want to tinker with this project but you don't like/know Python3, feel free to start there. - If you wanna manually start the sync: actions tab on GitHub > select the RClone Sync workflow > Run workflow > Run workflow.
- Raise an issue if you face any issue 😉.