Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Util] Add sync_file.py to util scripts #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

[Util] Add sync_file.py to util scripts #10

wants to merge 1 commit into from

Conversation

RattataKing
Copy link
Contributor

@RattataKing RattataKing commented Jan 22, 2025

Sync remote google drive contents to local folder.
Need to configure google credential json in order to use it.

Script logics: First check if the file or folder exists locally. If it does not exist, download it from the remote source. If it does exist, compare the hash to determine whether an update is required.

@RattataKing RattataKing requested a review from LindyZh January 22, 2025 08:29
@RattataKing
Copy link
Contributor Author

@LindyZh let me know if you want unit tests, although so far i dont have any concrete ideas how

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant