This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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 |