module
Version:
v0.0.0-...-a66ba14
Opens a new window with list of versions in this module.
Published: Jun 30, 2022
License: MIT
Opens a new window with license information.
README
¶
Build defeway-download binary
go build -o defewaydownload ./cmd/download
Use defeway-download binary
Usage of defewaydownload
binary:
-addr value
- IP address of the DVR
-chan value
- channel id, you can specify multiple channels, optional when -file
specified
-concurrent int
- the number of concurrent workers (default 1)
-date value
- date in format YYYY-MM-DD (eg. 2019-01-01)
-end value
- recordings end time
-file string
- path to the XML file with a list of recordings to download
-no-keep-alives
- do not keep connections alive
-output string
- path to the downloads directory
-overwrite
- overwrite existing files
-password string
- password for the DVR (default empty)
-port int
- port of the DVR (default 60001)
-preview
- limit the length of the downloads to about 1 minute
-start value
- recordings strat time
-timeout timespan
- the timeout parameter for the HTTP client (default 5s)
-tls-skip-verify
- skip TLS verification
-type value
- recording type, you can specify multiple types, optional when -file
specified
-username string
- username for the DVR (default "admin")
Build defeway-scan binary
go build -o defewayscan ./cmd/scan
Use defeway-scan binary:
Usage of defewayscan
binary:
-addr value
- IP address from which the scanner should start its job
-concurrent int
- the number of concurrent workers (default 1)
-logdir string
- path to the logs directory
-mask value
- network mask (eg. 255.255.255.0)
-port value
- the port of the DVR to scan, you can specify multiple ports
-password string
- password for the DVR (default empty)
-timeout timespan
- the timeout parameter for the HTTP client (default 5s)
-tls-skip-verify
- skip TLS verification
-username string
- username for the DVR (default "admin")
Directories
¶
Click to show internal directories.
Click to hide internal directories.