# Create multiple folders using Bash

> Learn how to create many numbered folders at once in Bash using the mkdir {1..30} brace expansion one-liner, instead of making each folder by hand.

Author: [Flavio Copes](https://flaviocopes.com/about/) | Published: 2022-07-04 | Topics: [CLI](https://flaviocopes.com/tags/cli/) | Canonical: https://flaviocopes.com/bash-create-multiple-folders/

I had the need to create 30 folders from 1 to 30 and I got tired making them manually after the first 4.

So I looked on Google and found this [Bash](https://flaviocopes.com/bash/) one-liner:

```sh
mkdir {1..30}
```

This also works on Zsh but not on [Fish](https://flaviocopes.com/fish-shell/) (the shell I use)
