clclean

deletes the old images from cloudinary.

clclean Code Climate Gitter chat

clclean deletes the old images from cloudinary.

Installation

npm -g install clclean

How to use

clclean --cloudname=YOUR_CLOUD_NAME --apikey=YOUR_API_KEY --secret=YOUR_API_SECRET

Dry dun

clclean --cloudname=YOUR_CLOUD_NAME --apikey=YOUR_API_KEY --secret=YOUR_API_SECRET --dry-run

next_cursor from opt (continue mode)

clclean --cloudname=YOUR_CLOUD_NAME --apikey=YOUR_API_KEY --secret=YOUR_API_SECRET --moment=7776000 --cursor=NEXT_CURSOR

Options

default

{
    "cursor": null,
    "cloudname": null,
    "apikey": null,
    "secret": null,
    "dry-run": false,
    "type": "fetch",
    "moment": 86400,
    "economize": 50
}