I am trying to understand one test script, which includes
if [ ! -f mahout-work/reuters21578.tar.gz ]; then
echo "Downloading Reuters-21578"
curl http://kdd.ics.uci.edu/databases/reuters21578/reuters21578.tar.gz \
-o mahout-work/reuters21578.tar.gz
fi
What does the condition of
! -f mahout-work/reuters21578.tar.gz
mean? And what does
curl http://kdd.ics.uci.edu/databases/reuters21578/reuters21578.tar.gz \ -o mahout-work/reuters21578.tar.gz
stand for? Thanks.