COUNTER=0 while true; files=$(ls -l); echo "The files in the current directory are: $files"; echo "download counter: $COUNTER"; echo "\n------------------------------------\n"; do huggingface-cli download julien-c/titanic-survival titanic.csv --repo-type dataset --local-dir "./" --quiet; sleep 30; COUNTER=`expr $COUNTER + 1` if [[ "$COUNTER" == '3' ]] then echo "Finall number of downloads: $COUNTER! \n" break fi done