6 lines
111 B
Bash
6 lines
111 B
Bash
|
for file in logs/*;
|
||
|
do
|
||
|
echo -n "${file}: ";
|
||
|
tail -n20 "$file" | grep "percent done:" | tail -n1;
|
||
|
done
|