title: Loop through lines in file and send to redis-cli
body: <p>I have a file created through the use of <code>$ redis-cli KEYS session.* &gt; keys.txt</code>, which currently has about 950,000 lines/keys in it.</p>
  
  <p>I want to loop through all of these and set an expire on them, and would prefer to avoid writing even a python script for it.</p>