Created
June 29, 2019 17:59
-
-
Save BSN4/96d33eb0fd924058126b8dd46a6a09d8 to your computer and use it in GitHub Desktop.
move redis keys from db to another
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
redis-cli keys '*' | xargs -I % redis-cli move % 3 > /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment