-
Notifications
You must be signed in to change notification settings - Fork 254
docs: Simplify option with keyword #3657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for nf-core-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for nf-core-main-site ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
mahesh-panchal
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To me, the idea should be to preserve the cache of the last run, while cleaning up anything before that.
|
|
||
| ```bash | ||
| nextflow clean -f -before $(nextflow log -q | tail -n 1) | ||
| nextflow clean -n last |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| nextflow clean -n last | |
| nextflow clean -n -before last |
|
|
||
| ### Selective post-execution cleanup | ||
|
|
||
| Nextflow's built-in `clean` command enables targeted removal of work directories. The following command preserves work directories from the current execution while removing directories from previous executions: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep this version, but combine it with the information about last. We want to keep the cache, while cleaning up previous runs.
docs: Simplify option with keyword
@netlify /docs/tutorials/storage_utilization/managing_work_directory_growth