sudo mount --uuid ${DATA_DEVICE_UUID} -o uid=1000,gid=1000,umask=0022${MOUNT_PATH}||echo"Cannot mount data device with UUID ${DATA_DEVICE_UUID}!";exit1
fi
if[ ! -e "${DATA}"]
then
mkdir -p ${DATA}
fi
if[ ! -e "${DATA}/video"]
then
mkdir -p "${DATA}/video"
fi
# sort files
mkdir -p "${DATA}/monthly"
monthly_counter=0
for i in `find ${DATA}/data/ -name "${YEAR}${MONTH}*.jpg"`