This website works better with JavaScript.
Home
Explore
Help
Sign In
bubblev
/
bubble
Watch
9
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
130
Wiki
Activity
Browse Source
add rkeys and rdelkeys scripts
tags/v0.12.2
Jonathan Cobb
4 years ago
parent
e8ab421e41
commit
2307003210
3 changed files
with
13 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
bin/rdelkeys
+5
-0
bin/rkeys
+3
-1
bubble-server/src/main/resources/ansible/bubble_scripts.txt
+ 5
- 0
bin/rdelkeys
View File
@@ -0,0 +1,5 @@
#!/bin/bash
PREFIX="${1:?no prefix}"
for k in $(echo 'keys '"""${PREFIX}"""'*' | redis-cli ) ; do
echo "del ${k} => $(echo "del ${k}" | redis-cli)"
done
+ 5
- 0
bin/rkeys
View File
@@ -0,0 +1,5 @@
#!/bin/bash
PREFIX="${1}"
for k in $(echo 'keys '"""${PREFIX}"""'*' | redis-cli ) ; do
echo "$k => $(echo "get $k" | redis-cli)"
done
+ 3
- 1
bubble-server/src/main/resources/ansible/bubble_scripts.txt
View File
@@ -15,4 +15,6 @@ bencrypt
bdecrypt
list_bubble_databases
cleanup_bubble_databases
install_packer.sh
install_packer.sh
rkeys
rdelkeys
Write
Preview
Loading…
Cancel
Save