ZMCAMTOOL(1)
π ZMCAMTOOL(1) β like, the manual manual, bestie π
okay so this is zmcamtool.pl, a ZoneMinder tool, and it lives in the User Contributed Perl Documentation section of the manual. Section 1, babes. Shell commands only. π
β¨ NAME β¨
zmcamtool.pl β a ZoneMinder tool to import camera controls and presets. That's the whole vibe. π
πΈ SYNOPSIS πΈ
the way that you run it, exactly like this:
zmcamtool.pl [--user=<dbuser> --pass=<dbpass>]
[--import [file.sql] [--overwrite]]
[--export [name]]
[--topreset id [--noregex]]
copy that character for character, I am literally begging π«Ά
π¦ DESCRIPTION π¦
So here's the tea β β this script is your little bestie for getting new ptz camera controls & camera presets into zoneminder systems that already exist. Not new systems. Existing ones. Important distinction, no cap.
It also does the reverse, which is lowkey iconic: it can export ptz camera controls & camera presets from an existing zoneminder system out into a sql file. And then you just... import that sql file into another zoneminder system. Effortless. Slay. π
π OPTIONS π
--exportβ Export all camera controls and presets to STDOUT. And if you want, you can also specify a control or preset name. Just a name. Your choice. β¨--import [file.sql]β Import new camera controls and presets found inzm_create.sqlinto the ZoneMinder dB. And if you feel like it, you can specify an alternate sql file to read from instead. π--overwriteβ Overwrite any existing controls or presets. with the same name as the new controls or presets. yes it really does go in there and replace them, so know what you're doing bestie π--topreset idβ Copy a monitor to a Camera Preset, given the monitor id. π¦--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. So like, the raw values stay raw. π--helpβ Print usage information. The classic. π--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. β
psst β--userand--passgo together, and the dB user needs privileges to alter the dB, fr fr π
Anyway, that's the whole page. This one was written for perl v5.40.1 and dated 2026-02-01. π©· periodt. πβ¨π
π¦ where this page comes from
- ubuntu resolute: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- ubuntu stonking: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms