Last active
June 5, 2024 03:05
-
-
Save mabroor/f0b50dfc6968fd8e4e17d65bb5a45d4c to your computer and use it in GitHub Desktop.
Export a redis set to json
This file contains hidden or 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 SMEMBERS myset | jq -R . | jq -s . > myset.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment