This command creates one archive per direct subfolder in the current directory.

## Compressed archives

```bash
find . -maxdepth 1 -mindepth 1 -type d -exec tar -czvf "{}.tar.gz" "{}" \;
```

## Uncompressed archives

```bash
find . -maxdepth 1 -mindepth 1 -type d -exec tar -cvf "{}.tar" "{}" \;
```