cloudinary-bulk-downloader
v0.1.1
Published
Downloads all your resources from Cloudinary
Downloads
5
Readme
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