/ Published in: Bash
                    
                                        
Deletes all keys starting with prefix. Inspired by: http://stackoverflow.com/a/4006575
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
redis-cli keys prefix* | xargs redis-cli DEL
Comments
 Subscribe to comments
                    Subscribe to comments
                
                