Skip to content

Commit

Permalink
Merge pull request #220 from pneerincx/master
Browse files Browse the repository at this point in the history
Minor improvement for pullRawDataFromDS.sh
  • Loading branch information
pneerincx authored Sep 13, 2021
2 parents 00aa2a9 + 55e1add commit d7e5a76
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bin/pullRawDataFromDS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,9 @@ else
> "${logDir}/${gsBatch}.uploadCompletedListing_${logTimeStamp}.log"
fi
#
# Rsync everything but the .finished file: may be incompletely uploaded batch,
# but we already rsync everything we've got so far.
# Rsync everything except the *.finished file and except any "hidden" files starting with a dot
# (which may be temporary files created by rsync and which we do not have permissions for):
# this may be an incompletely uploaded batch, but we already rsync everything we've got so far.
#
log4Bash 'DEBUG' "${LINENO}" "${FUNCNAME:-main}" '0' "Rsyncing everything but the .finished file for ${gsBatch} ..."
/usr/bin/rsync -vrltD \
Expand All @@ -230,6 +231,7 @@ else
--omit-dir-times \
--omit-link-times \
--exclude='*.finished' \
--exclude='.*' \
"${HOSTNAME_DATA_STAGING}:${GENOMESCAN_HOME_DIR}/${gsBatch}" \
"/groups/${GROUP}/${TMP_LFS}/"
#
Expand Down

0 comments on commit d7e5a76

Please sign in to comment.