# The prune folder isn't empty

What "isn't an empty folder" means for axle prune and how to fix it.

```text
error: out isn't an empty folder
hint: axle prune writes into a new or empty folder. Choose another, or delete this one first.
```

## Why it happens

[`axle prune`](https://axlers.dev/docs/reference/prune.md) writes its copy into the folder given with `--out`, `out` by default, and that folder already has files in it, often from an earlier prune, or `--out` names a file. Axle doesn't mix the copy with other files, so nothing is overwritten.

## How to fix it

Delete the folder, or give another one with `--out`. In a script, delete it first:

```sh
rm -rf out && axle prune @acme/web --docker
```
