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

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

Notifications You must be signed in to change notification settings

lancehudson/redisHashScan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:*

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published