Skip to main content

CLI Overview

ddb is a command-line interface (CLI) to access DroneDB's functions. It's ideal for power users and for creating automated workflows.

Quick Reference

Core operations

CommandDescription
ddb initInitialize a new DroneDB index
ddb addAdd files to the index
ddb rmRemove files from the index
ddb listList indexed files
ddb searchSearch indexed files
ddb infoShow file metadata
ddb statusShow index vs filesystem status (? new, ! deleted, M modified)
ddb syncSync index with filesystem changes
ddb rescanRe-process all indexed files to update metadata

Registry & sync

CommandDescription
ddb loginAuthenticate with a Registry server
ddb logoutLogout from Registry server(s)
ddb shareShare files to Hub/Registry
ddb pushSync local index to Registry
ddb pullPull changes from a remote Registry
ddb cloneClone a remote dataset
ddb tagGet or set the dataset tag
ddb stampGenerate a stamp of the current index
ddb deltaGenerate delta between two databases

Build & processing

CommandDescription
ddb buildGenerate derivative products (tiles, thumbnails, etc.)
ddb thumbsGenerate thumbnails
ddb tileGenerate map tiles for GeoTIFFs, GeoImages, COPC
ddb cogBuild a Cloud Optimized GeoTIFF
ddb copcBuild a Cloud Optimized Point Cloud
ddb nxsGenerate Nexus files from OBJ 3D models
ddb gsplatConvert Gaussian Splat to compressed SPZ + RAD LOD
ddb stacGenerate STAC catalogs
ddb contourGenerate contour lines from DEMs
ddb maskMask orthophoto borders
ddb alignAlign GeoTIFF to a reference raster
ddb merge-multispectralMerge single-band files into multi-band COG
ddb geoprojProject images to georeferenced rasters

Metadata & attributes

CommandDescription
ddb metaManage metadata (add/set/rm/get/unset/ls/dump/restore)
ddb setexifModify EXIF values (GPS lat/lon/alt) in files
ddb passwordManage database passwords

Maintenance

CommandDescription
ddb cleanupRemove stale entries and orphaned artifacts
ddb systemManage ddb (subcommand: clean for user cache cleanup)

Installation

See the CLI Installation page for setup instructions.

Examples

See CLI Examples for practical usage examples.

Full Reference

See the CLI Command Reference for the complete list of commands and options.