Skip to content
This repository has been archived by the owner on Apr 13, 2019. It is now read-only.

Latest commit

 

History

History
23 lines (16 loc) · 708 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 708 Bytes

redisHashScan

Scans redis for hashes and identifies keys that match a regex and optionally deletes them

usage

redisHashScan [options]

options

-V, --version                  output the version number
--rm                           Remove matching keys
-c, --cluster
-r, --host [host]              host
-p, --port [port]              port
-k, --match [match]            hash keys regex to scan for
-f, --fieldMatch [fieldMatch]  hash field regex to scan for
-h, --help                     output usage information

examples

Scan cluster for any hashes with the key updates:* and the field file:*

redisHashScan -cr 192.168.99.100 -k updates:* -f file:*