Skip to content
This repository has been archived by the owner on Dec 24, 2022. It is now read-only.
/ drive-sync Public archive

A OneDrive to Google Drive Sync Using Github Action

License

Notifications You must be signed in to change notification settings

dotfrankruan/drive-sync

Repository files navigation

Important notice

Due to the usage policy of Github Actions and the API limit of Microsoft, Google etc., we do not recommend this project as your replication method now.

How to use

Go to GPG4Win and download the latest GPG4win. Install it. And config your rclone. This is for OneDrive -> Google Drive. So please use:

name: onedrive            For OneDrive
name: gdrive_mirror       For Google Drive

(You can change them in copy.sh) After you done that, find your config and use:

gpg --symmetric --cipher-algo AES256 rclone.conf

It'll ask you for a passphrase, pick one you can remember. Upload the generated rclone.conf.gpg to this repository's root directory(there is one already, that's mine. You should delete it.). Go to Settings and click Secrets, create a repository secret called GPG_PASSPHRASE, paste your passphrase into it, click save. Then edit this document, add sth. or delete sth. Then click save(This'll start the workflow).

That's it, it'll run per 6 hrs.

IMPORTANT

I also use this project, so you should delete all text below the 24th line. Then delete all the .sh file except copy.sh and decrypt.sh

About

A OneDrive to Google Drive Sync Using Github Action

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages