ZMCAMTOOL(1)

πŸ“¦
version 1.36.37 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– 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 in zm_create.sql into 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 β€” --user and --pass go 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