nf-hack18 icon indicating copy to clipboard operation
nf-hack18 copied to clipboard

How to remove the work directory automatically

Open RTewolde opened this issue 6 years ago • 4 comments

RTewolde avatar Nov 19 '18 18:11 RTewolde

Maybe try to use workflow.onCompleteand specify to delete the workDir then?

Not sure whether this is possible...

apeltzer avatar Nov 22 '18 16:11 apeltzer

Actually there's a(n undocumented) feature to cleanup automatically the work dir adding cleanup = true in the config.

pditommaso avatar Nov 22 '18 17:11 pditommaso

How can I delete the empty directories left in the work_dir from within the nextflow script?

efratushava avatar Dec 18 '19 12:12 efratushava

https://github.com/nextflow-io/nextflow/issues/3025#issue-1301569121

BharatPanera avatar Jul 12 '22 05:07 BharatPanera