Purge is the Practical and Useful Recording Group Eraser. It serves only one purpose: to conveniently erase all existing recording groups on an Axis S3008 Recorder. Unless a recording group is currently in use, all existing recording groups will be removed using the Recording Groups API.
npm install -g @berlund/purge
The only required argument is the IP address of your S3008 recorder:
nvr-purge 192.168.1.22
Delete recording groups with custom credentials (HTTP Digest):
nvr-purge 192.168.1.22 -u username -p secret