Adding mkdir cheat

This commit is contained in:
Grant Bremer 2013-09-21 16:31:17 -04:00
parent 0cc76a78a1
commit bcebf8dfea

9
cheatsheets/mkdir Normal file
View file

@ -0,0 +1,9 @@
# Create a directory and all its parents
mkdir -p foo/bar/baz
# Create foo/bar and foo/baz directories
mkdir -p foo/{bar,baz}
# Create the foo/bar, foo/baz, foo/baz/zip and foo/baz/zap directories
mkdir -p foo/{bar,baz/{zip,zap}}