cheat/cheatsheets/mkdir

10 lines
233 B
Plaintext
Raw Normal View History

2013-09-21 22:31:17 +02:00
# 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}}