link_next_input.sh
Go to the documentation of this file.
1 sleep 5
2 next_stage_input=`ls -t1 *.root | egrep -v 'celltree|hist|larlite|larcv|Supplemental|TGraphs' | head -n1`
3 echo "ln -sf $next_stage_input input${stage}.root"
4 ln -sf $next_stage_input input${stage}.root
5 next_stage_input=input${stage}.root
6