Browse Source

use dump instead of get, better handling for sets and such

tags/v1.1.4
Jonathan Cobb 4 years ago
parent
commit
b418a5d805
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bin/rkeys

+ 1
- 1
bin/rkeys View File

@@ -4,5 +4,5 @@
#
KEY_MATCH="${1}"
for k in $(echo 'keys *'"""${KEY_MATCH}"""'*' | redis-cli) ; do
echo "$k => $(echo "get $k" | redis-cli)"
echo "$k => $(echo "dump $k" | redis-cli | strings)"
done

Loading…
Cancel
Save