add basic progress

This commit is contained in:
Joey Hess 2015-06-15 15:27:17 -04:00
parent 18a3d1b100
commit f62138b9c5
2 changed files with 5 additions and 0 deletions

View file

@ -52,6 +52,7 @@ IFS="
process () {
if [ -e "$f" ]; then
echo "adding metadata for $f"
for l in $(extract "$f" | egrep "$want"); do
field="${l%% - *}"
value="${l#* - }"