Bunny Transfer quickstart

To use the bunny-transfer cli, you must install the latest LTS version of Node.js.

The difference between the sync and move commands is that:

  • The sync command will sync files to the destination, and delete files in the destination that do not exist in the source.
  • The move command will move files to the destination, and leave existing files in the destination that do not exist in the source.

Single command

Sync

npx --yes bunny-transfer@latest sync ./dist my-storage-zone --access-key="c24347cf-1bc0-4900-8d60-86b1c7701f53"# orexport BUNNY_ACCESS_KEY="c24347cf-1bc0-4900-8d60-86b1c7701f53"npx --yes bunny-transfer@latest sync ./dist my-storage-zone

Multiple commands

Installation

npm install -g bunny-transfer@latest

Credentials

bunny-transfer login <profile> <access-key>

Sync

bunny-transfer sync ./dist my-storage-zone

Move

bunny-transfer move ./dist my-storage-zone

Other commands

Empty

bunny-transfer empty my-storage-zone

Purge

bunny-transfer purge my-pull-zone

Other options

For the move command, the --index flag will enable listing files in the destination and skip moving files with the same sha256 hash that already exist.

Reference

For more information on Bunny Transfer, please read the commands reference.