TOTAL_EXPECTED_FILES=$1
INGESTED=`find /path/to/logs -type f | wc -l`
PERCENTAGE=`echo $INGESTED/$TOTAL_EXPECTED_FILES*100 | bc -l`
echo $INGESTED" / "$TOTAL_EXPECTED_FILES" ( "$PERCENTAGE"% )"
CLI:
$ total=<NUM> done=`find /path/to/logs -type f | wc -l` perc=`echo $done/$total*100 | bc -l`; echo $done" / "$total" ( "$perc"% )"`df -h --output=used /path/to/logs`