I have a shell script that is sending in about 150 files to a python program I wrote. I have no idea how long it is going to take, so I was wondering if there was a terminal command to either:
a) tell me which file is currently being worked on
b) how many files are left to run
Here's my shell:
#!/bin/bash
ls fp00t*g*k2odfnew.dat | while read line; do
echo $line
python file_editor.py $line
done