nextflow clean <run_name|session_id>

Clean up project cache and work directories (Default: last run)

Arguments

NameDescription
run_name|session_id

Options

NameDescription
-after <run name>Clean up runs executed after the specified one
-before <run name>Clean up runs executed before the specified one
-but <run name>Clean up all runs except the specified one
-n, -dry-runPrint names of file to be removed without deleting them (Default: false)
-f, -forceForce clean command (Default: false)
-h, -helpPrint the command usage (Default: false)
-k, -keep-logsRemoves only temporary files but retains execution log entries and metadata (Default: false)
-q, -quietDo not print names of files removed (Default: false)