#delete multiple keys
# the -n 4 selects DB 4
redis-cli -n 4 keys 'profiles/*'| xargs redis-cli -n 4 DEL

cat files_with_keys.txt | xargs -I % redis-cli -h redis.host.com -n 3 EXPIRE % 1209600