zmcamtool.pl(8)

πŸ“¦
version 1.38.1 Β· 2 versions
, in alpine 3.24

✨ 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 to STDOUT. Optionally specify a control or preset name. It’s giving β€œdump the whole vibe to the terminal.” πŸ’–
  • --import [file.sql] β€” Import new camera controls and presets found in zm_create.sql into 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 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. 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