diff options
-rwxr-xr-x | bin/ftpsync | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/ftpsync b/bin/ftpsync index 788ffcc..6fbcbca 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -626,7 +626,13 @@ if [ "xtruex" = "x${SYNCSTAGE2}x" ] || [ "xtruex" = "x${SYNCALL}x" ]; then log "Creating a ${EXTENDEDTRACE} trace file" if [ -d "$(dirname "${TO}/${TRACE}")" ]; then { + FILESOA=$(awk '/serial/ { print $3 }' ${TO}/project/trace/master || echo unknown ) + echo "Archive serial: ${FILESOA}" + LC_ALL=POSIX LANG=POSIX date -u + rfc822date=$(LC_ALL=POSIX LANG=POSIX date -u -R) + echo "Date: ${rfc822date}" + if [ "xdatex" != "x${EXTENDEDTRACE}x" ]; then echo "Used ftpsync version: ${VERSION}" echo "Running on host: ${TRACEHOST}" |