diff --git a/example-job-scripts/00-split-logs.sh b/example-job-scripts/00-split-logs.sh index 13af26e4d1c1f724499fbcfb69678ef9f934ebf5..da232fd5815516771c0836ce9d18e22a7f15e026 100755 --- a/example-job-scripts/00-split-logs.sh +++ b/example-job-scripts/00-split-logs.sh @@ -15,7 +15,7 @@ conda activate gpfs # listcmd env var sets the command to enumerate datasets to process # supports passing args during sbatch, e.g. listcmd="cat split-list" sbatch <thisscript> -# note: maxdeth speeds execution of find by avoiding deep dirs +# note: maxdepth speeds execution of find by avoiding deep dirs listcmd=${listcmd:-find /data/rc/gpfs-policy/data -maxdepth 3 -path "*/list-policy_data-user_list-path-external_slurm-31[35]*/raw/*.gz"} logs=($($listcmd))