Last active
          July 7, 2017 20:25 
        
      - 
      
- 
        Save dallinskinner/50a17b27bb30e29b84634b6443e1de93 to your computer and use it in GitHub Desktop. 
    Search content of blocks
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| ssh vm 'mysql '$1'_drupal -e "SELECT bid, info, CONCAT('\''https://dallin.office.lucid'$1'.com/pages/admin/structure/block/manage/block/'\'', bid, '\''/configure'\'') as url FROM block_custom WHERE body LIKE '\''%'$2'%'\''\G"' | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment