Skip to content

Instantly share code, notes, and snippets.

@skeptrunedev
Last active June 24, 2024 06:27
Show Gist options
  • Select an option

  • Save skeptrunedev/42d48ac5f56e00567c7b9bfab6c80b94 to your computer and use it in GitHub Desktop.

Select an option

Save skeptrunedev/42d48ac5f56e00567c7b9bfab6c80b94 to your computer and use it in GitHub Desktop.
Load a File Into a Redis Queue

cat ./output.txt | while read line; do redis-cli -u redis://:thisredispasswordisverysecureandcomplex@localhost:6379 LPUSH file_ingestion "$line"; done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment