linux mkdir 创建连续目录

Posted on Posted in command

linux mkdir 创建连续目录

说明

创建多个目录时,用{}和,分隔开

eg1

mkdir -p a/{b,c,d}
> tree a
a
├── b
├── c
└── d
3 directories, 0 files

eg2

mkdir -p a/{b/{e/g,f},c,d}
a
├── b
│   ├── e
│   │   └── g
│   └── f
├── c
└── d
» 转载请注明来源:若我若鱼 » linux mkdir 创建连续目录

Leave a Reply

Your email address will not be published. Required fields are marked *

20 − one =