franzwilding/bunny-rsync

Sync a local directory with bunny edge storage zone and purge cache

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/franzwilding/bunny-rsync

dev-main 2022-04-06 13:57 UTC

This package is auto-updated.

Last update: 2025-10-06 22:21:41 UTC


README

Inspired by https://github.com/own3d/bunny-cli

Based on https://flysystem.thephpleague.com/, https://github.com/thadbryson/flysystem-sync and https://github.com/PlatformCommunity/flysystem-bunnycdn

Installation

composer global require franzwilding/bunny-rsync 

Usage

bunny-cdn-rsync {local-directory} {storage-zone-id} --api-key={api-key}
# example: bunny-cdn-rsync ./dist 12345 --api-key=af-a8-fo