Skip to content

Instantly share code, notes, and snippets.

@jtemplet
Created January 13, 2016 02:32
Show Gist options
  • Save jtemplet/c95c5c7b6df4d41f72ad to your computer and use it in GitHub Desktop.
Save jtemplet/c95c5c7b6df4d41f72ad to your computer and use it in GitHub Desktop.
Use redis-cli to write key to file
redis-cli -h <redis-host> -n <redis-db> --raw hgetall <redis-hash-name> > output.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment