Skip to content

Instantly share code, notes, and snippets.

@michaelcpuckett
Created October 18, 2012 15:26
Show Gist options
  • Save michaelcpuckett/3912558 to your computer and use it in GitHub Desktop.
Save michaelcpuckett/3912558 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