New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

redis-command-stream

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis-command-stream

Dump a Redis database as a stream of commands

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-60%
Maintainers
1
Weekly downloads
 
Created
Source

redis-command-stream

Dump a Redis database as a stream of commands

Install

npm install -g redis-command-stream

Use

$ redis-stream --help

Usage: redis-stream [OPTIONS] [key pattern]
  -h <hostname>      Server hostname (default: 127.0.0.1).
  -p <port>          Server port (default: 6379).
  -s <socket>        Server socket (overrides hostname and port).
  -a <password>      Password to use when connecting to the server.
  -n <db>            Database number.
  --pipe             Output in protocol format for piping to redis-cli.
  --flushdb          Insert command to empty the destination database.

Examples:
  redis-stream -n 5 "hotel*" > export.txt
  redis-stream -n 5 --pipe "hotel*" | redis-cli -n 6 --pipe
  redis-stream -n 5 --pipe "hotel*" > export.txt
  (cat export.txt | redis-cli -n 6 --pipe)

License

MIT

FAQs

Package last updated on 16 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc