cloud-storage-sync
Library to sync files to, from and between Google Cloud Storage buckets
This project depends on cloud-storage-rs crate. To access bucket you need to specify SERVICE_ACCOUNT environment variable which should contain path to the service account json key.
let force_overwrite = false;
let sync = Sync new;
sync.sync_local_file_to_gcs?;
sync.sync_local_to_gcs?;
sync.sync_gcs_to_local?;