Skip to content
Docs
Errors

output_not_empty

The directory `disko eject` would write into already exists and has files in it.

Kinddisko command error
disko exit code2 (usage)

disko eject writes a new code project and never overwrites files. By default it writes into a directory named after the project; --out <dir> chooses another. When that directory exists and is not empty, the command fails with output_not_empty and exit code 2, and nothing is written.

Fix

  • Pass a new or empty directory:

sh

See also