The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

16 lines
517 B

  1. #!/bin/bash
  2. #
  3. # Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/
  4. #
  5. # Dump data from redis for keys matching a pattern
  6. #
  7. # Usage: rkeys keytext
  8. #
  9. # keytext : any key that contains this text will be dumped
  10. # the dump text that is printed is "key => dump(value)"
  11. #
  12. KEY_MATCH="${1}"
  13. for k in $(echo 'keys *'"""${KEY_MATCH}"""'*' | redis-cli) ; do
  14. echo "$k => $(echo "dump $k" | redis-cli | strings)"
  15. done