zmcamtool.pl(8)
β¨ NAME β¨
okay so bestie, meet zmcamtool.pl β literally the ZoneMinder tool to import camera controls and presets. The manual name is zmcamtool.pl(8), and yes, sheβs iconic. π
π¦ SYNOPSIS π¦
zmcamtool.pl [--user=<dbuser> --pass=<dbpass>]
[--import [file.sql] [--overwrite]]
[--export [name]]
[--topreset id [--noregex]]
πΈ DESCRIPTION πΈ
This script provides a way to import new ptz camera controls & camera presets into existing zoneminder systems. Not me being dramatic β that is the whole main-character job. π
It also provides a way to export ptz camera controls & camera presets from an existing zoneminder system into a sql file, which can then be easily imported to another zoneminder system. fr fr, itβs giving βmove your camera setup without the chaos.β β¨
π OPTIONS π
--exportβ Export all camera controls and presets toSTDOUT. Optionally specify a control or presetname. Itβs giving βdump the whole vibe to the terminal.β π--import [file.sql]β Import new camera controls and presets found inzm_create.sqlinto the ZoneMinder dB. Optionally specify an alternate sql file to read from. π«Ά--overwriteβ Overwrite any existing controls or presets with the same name as the new controls or presets.
bestie, this one replaces existing controls or presets that share the same name as the new ones. so yes, it really does overwrite. π
--topreset idβ Copy a monitor to a Camera Preset given the monitorid. π₯--noregexβ Do not try to find and replace fields such as usernames, passwords, IP addresses, etc with generic placeholders when converting a monitor to a preset. No regex magic, no placeholder swap. π--helpβ Print usage information. The classic βbestie, how do I do this again?β button. π--user=<dbuser>β Alternate dB user with privileges to alter dB. π--pass=<dbpass>β Password of alternate dB user with privileges to alter dB. π--versionβ Print version. slay. π¦
okay thatβs the whole page, bestie π«Ά This is zmcamtool.pl(8) from the --stderr source/version, dated 2026-03-04. Stay hydrated and keep those camera presets iconic ππ
π¦ where this page comes from
- alpine 3.24: zoneminder-doc 1.38.1-r0 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms