Created
          August 18, 2018 03:28 
        
      - 
      
- 
        Save oesteban/eb4aed118566bdaca95860673e8ea6fc to your computer and use it in GitHub Desktop. 
    Some useful snippets in bash
  
        
  
    
      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
    
  
  
    
  | # Find empty folders starting with ds | |
| for dir in ds*; do [ -z "`find $dir -maxdepth 1 -type f`" ] && echo "$dir is empty"; done | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment