Overview
These are the following availible commands for the cil-import
CLI. Before using please follow the instructions here to setup the CLI.
Main Commands
MongoURI
Set
Add MongoDB URI
Set the MongoURI for db connection
Show
Show MongoDB URI
Show the MongoURI for db connection
Test
Test MongoDB URI
Test the MongoURI for db connection
Remove
Remove MongoDB URI
Remove the MongoURI
Catalog
Add
Add a catalog,and archives of that catalog, and images of that archive to db
Adding images
--path
- is required
For ease of use, a JSON file is needed to help create the catalogs. The format is as follows
caution
If you are going to copy this remember to remove comments, JSON doesnt like comments
Here are some stats of how long it takes to enter into the DB.
Florence 141 seconds 30492 images = 216 img/sec
Dorian 85 seconds 18425 images = 216 img/sec
Michael 45 seconds 9600 images = 213 img/sec
Tairua 22 seconds 3851 images = 175 img/sec
Delete
Deletes a catalog with given _ID
Deleting catalog
--id
- is required, ID of catalog
Archive
Add
Add archives and their images to existing catalogs
Adding images
--path
- is required
The JSON file is as follows
Delete
Deletes a archive with given _ID
--id
- is required, ID of archive