|
|
|
@ -41,7 +41,7 @@ weekly_counter=0 |
|
|
|
|
for i in `find ${DATA}/data/ -name "${DATE}*.jpg"` |
|
|
|
|
do |
|
|
|
|
seconds_unixtime=`echo "${i}" | sed 's/^.\+_\([0-9]\+\).*/\1/'` |
|
|
|
|
if [ "${seconds_unixtime}" -ge "${DATE_START}" ] || [ "${seconds_unixtime}" -lt "${DATE_STOP}" ] |
|
|
|
|
if [ "${seconds_unixtime}" -ge "${DATE_START}" ] && [ "${seconds_unixtime}" -lt "${DATE_STOP}" ] |
|
|
|
|
then |
|
|
|
|
weekly_counter=$((weekly_counter + 1)) |
|
|
|
|
if [ ${weekly_counter} -ge 7 ] |
|
|
|
|