Skip to content

Instantly share code, notes, and snippets.

View mribeirodantas's full-sized avatar
🇧🇷
Addicted to data.

Marcel Ribeiro-Dantas mribeirodantas

🇧🇷
Addicted to data.
View GitHub Profile
#! /bin/bash
## See also https://github.com/nextflow-io/nextflow/discussions/4308
## cd to a parent directory for a Nextflow pipeline executation, i.e. contains .nextflow and work directories
## Find work directories essential to the last pipeline run, as absolute paths
nextflow log last > /tmp/preserve_dirs.txt
## Find all work directories, as absolute paths