Add timestamps to log
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user