# Remove a path

Collection: cli
Human docs: https://zei.sh/docs/cli

Remove a file or directory.

Command: zeishctl sandboxes files SANDBOX_ID rm /workspace/results --recursive
Use --recursive for directories. Removing the file root is rejected.

Example:

```
zeishctl sandboxes files SANDBOX_ID rm /workspace/results --recursive
```
