Skip to content

v1.0.0: PowerShell Content Sync

Latest

Choose a tag to compare

@OctavianTocan OctavianTocan released this 08 Oct 11:21

What is this?

A PowerShell script that syncs your assets between a local repo and Google Drive using rclone bisync. It's safe (has built-in safety checks), and it's configured through a committed .env file so you don't accidentally push your OAuth tokens to git.

What makes this useful

The script does bidirectional sync with rclone bisync, which includes -check-access safety checks to make sure you don't accidentally destroy anything.

Everything's configured through a .env file that gets committed to the repo, so setup is straightforward.

Service account credentials stay out of git, you just drop .rclone/service-account.json in manually.

You can preview changes with DryRun before actually syncing anything, and there's a Resync mode for first-time setup or when you need to do a full sync.

Works great on Windows/PowerShell with colorized output and helpful errors when things go wrong.

Quickstart (PowerShell)

# Preview changes first (always a good idea)
./sync-assets.ps -DryRun

# First-time full sync
./sync-assets.ps -Resync

Security note

Don't commit .rclone/service-account.json to the repo. Check the wiki/docs at Powershell-Content-Sync.wiki for setup instructions.

Changelog

v1.0.0: Initial release—includes sync-assets.ps, config patterns, safety checks, and docs.

Contributors

Octavian Tocan (author/maintainer)