Skip to content

Instantly share code, notes, and snippets.

@ianthekirkland
Forked from michaelcpuckett/gist:3912558
Created October 18, 2012 15:33
Show Gist options
  • Save ianthekirkland/3912595 to your computer and use it in GitHub Desktop.
Save ianthekirkland/3912595 to your computer and use it in GitHub Desktop.
brace expansion with mkdir
mkdir -p {test1,test2}/{test3,test4}
gives me test1/test3, test1/test4, test2/test3 and test2/test4
mkdir -p {test1,test2}/{test3,test4/{test5,test6}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment