I\'m trying to flatten a results directory prior to archiving using a symbolic link to the relevant inner folder that first traverses a bunch of variable path names determin
Couple of interesting strategies around this problem
Decompose long sh
scripts into distinct functional pieces with return values
https://stackoverflow.com/a/47394132/1330381
Escape nested shell commands with backslash \$
,
sh """
\$(echo TEST this subshell \$(ls .))
"""
https://stackoverflow.com/a/50356318/1330381