cloudinary-bulk-downloader

0.1.1 • Public • Published

Cloudinary Bulk Downloader

Downloads all your resources (images, videos and raw) from a Cloudinary cloud.

The Cloudinary provided generate_archive endpoint has a limitation of 1000 resources or 100MBs. This tool gets around that by reading from the admin API and downloading resources one by one.

Install

npm i -g cloudinary-bulk-downloader

Usage

  # cloudinary-bulk-downloader --help

  Usage: cloudinary-bulk-downloader [options]


  Options:

    -V, --version                        output the version number
    -u, --api-key <api-key>              Cloudinary API key (get from: https://cloudinary.com/console )
    -p, --api-secret <api-secret>        Cloudinary API secret (get from: https://cloudinary.com/console )
    -c, --cloud-name <cloud-name>        Cloudinary cloud name
    -m, --max-result <max-result>        Maximum results to fetch from Cloudinary admin API, default 500
    --max-parallelism <max-parallelism>  Maximum parallel resources to download at once, default 5
    --prefix <prefix>                    Cloudinary prefix to filter on (e.g. folder)
    -o --output <output>                 Output folder to download resources
    -v, --verbose                        Verbose logging
    -h, --help                           output usage information

Example

Download all resources from the cloud:

cloudinary-bulk-downloader --api-key API_KEY --api-secret API_SECRET --cloud-name demo_cloud --output /tmp/cloudinary_dump

Credits

This based on cloudinary-bulk-image-downloader by krivachy

Readme

Keywords

none

Package Sidebar

Install

npm i cloudinary-bulk-downloader

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

11.7 kB

Total Files

4

Last publish

Collaborators

  • patrickhaussmann