BunnyCDN CLI

CLI for the BunnyCDN provider (v0.3)


Project maintained by DKFN Hosted on GitHub Pages — Theme by mattgraham

Changing the number of connections

By default, the CLI will try to perform download/uploads with 8 parallel connections. You can change the number of asynchronous operations by setting BNYCDN_PARALLEL varenv

It is set to 8 by default. This is an average guess of the typical usage (mixed big and small files) and should give correct performance. Of course, it may not be ideal for orther cases (slow connections, big file downloads).

Please note that raising this value to much (> 20) may result in dropped connections or poor I/O performance.

Examples

$ export BNYCDN_PARALLEL=1; bnycdn cp -R -s testcdn /testcdn/bunnycdnclitest2/ ./testfiles2/