Add timestamps to log

This commit is contained in:
Ryan 2023-06-25 13:53:49 +00:00
parent 43910f2b1c
commit d301e53f12
1 changed files with 6 additions and 1 deletions

View File

@ -3,6 +3,8 @@
export SUBDIRS="ftp_images ftp_highres_images" export SUBDIRS="ftp_images ftp_highres_images"
export HOST export HOST
echo Starting at `date`
for d in $SUBDIRS for d in $SUBDIRS
do do
export LOCALDIR="$WEBROOT/images/$d" export LOCALDIR="$WEBROOT/images/$d"
@ -15,5 +17,8 @@ do
done done
echo Download complete at `date`
find $WEBROOT/images -type f | perl -pe 's/^\/var\/www//' | sort > $WEBROOT/images.txt find $WEBROOT/images -type f | perl -pe 's/^\/var\/www//' | sort > $WEBROOT/images.txt
echo Done at `date`
echo