Suggestion CopyAll
I have a small suggestion for script CopyAll
.
Instead of skipping the last two modified files, as in
FILELIST=`ls -1t $KM3NET_DATA_DIR/KM3NeT_0*_*.root | tail -n +2`
maybe it is better to check that the date of the last modification is more than a fixed time before the current date.