Created
          August 16, 2018 12:54 
        
      - 
      
 - 
        
Save siriusnottin/3f92432f11150a4668fb6570111ee655 to your computer and use it in GitHub Desktop.  
    Create multiple folders (Mac OSX)
  
        
  
    
      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
    
  
  
    
  | # Create a file (named concerts.txt in this case) containing the names of all folders to create : | |
| nano concerts.txt | |
| # In my case this file lists concerts (one for each line). The name of each folder must be in quotation marks. Example : | |
| "Concert name 1" | |
| "Concert name 2" | |
| "Concert name 3" | |
| "Concert name 4" | |
| # Now execute this command by changing the file name : | |
| cat concerts.txt | xargs mkdir | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment