Skip to content

imagekit-developer/imagekit-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Imagekit cli tool for storage migration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published