Skip to content

imagekit-developer/imagekit-cli

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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