mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-22 04:47:00 +00:00
commit
ca89df83dc
13
README.md
13
README.md
@ -3154,7 +3154,18 @@ cd $(mktemp -d)
|
||||
```bash
|
||||
mkdir -p project/{lib/ext,bin,src,doc/{html,info,pdf},demo/stat}
|
||||
# -p: make parent directory
|
||||
# this will create project/doc/html/; project/doc/info; project/lib/ext ,etc
|
||||
# this will create:
|
||||
project/
|
||||
project/bin/
|
||||
project/demo/
|
||||
project/demo/stat/
|
||||
project/doc/
|
||||
project/doc/html/
|
||||
project/doc/info/
|
||||
project/doc/pdf/
|
||||
project/lib/
|
||||
project/lib/ext/
|
||||
project/src/
|
||||
```
|
||||
|
||||
##### Run command only if another command returns zero exit status (well done)
|
||||
|
Loading…
Reference in New Issue
Block a user