imagekit-cli

Tool to migrate Cloudinary storage to Imagekit.io


Keywords
imagekit, imagekitio, cloudinary, cli, migration, storage
License
MIT
Install
pip install imagekit-cli==1.0.5

Documentation

imagekit-cli

ImageKit.io cli tool for cloudinary storage migration.

Install

pip install imagekit-cli

Configuration

Declare following Environment Variables before running the tool.

Environment Variables:

Note: Use export command to set the variables.

export CLOUDINARY_URL=""
export IMAGEKIT_ID=""
export IMAGEKIT_PUBLIC_KEY=""
export IMAGEKIT_PRIVATE_KEY=""

Usage

imagekitcli

CLI Arguments:

usage: imagekitcli [-h] [-m] [-l] [-u] [-o OUTPUT] [-c] [-s]

optional arguments:
  -h, --help            Show this help message and exit
  -m, --migrate         Migrate Cloudinary storage to ImageKit
  -l, --list            Cloudinary URL list
  -u, --usage           Cloudinary usage
  -o OUTPUT, --output OUTPUT
                        Output file path (used with --list)
  -c, --clean           Clean caches
  -s, --status          Check status

Note: Use Cloudinary Backup bucket to migrate if storage is more than 2GB or if you are on Cloudinary paid plan.

  • Enable Cloudinary Backup Bucket Guide
  • Contact Imagekit support to add this bucket as Origin in Imagekit dashboard.