add basic progress
This commit is contained in:
parent
18a3d1b100
commit
f62138b9c5
2 changed files with 5 additions and 0 deletions
|
@ -52,6 +52,7 @@ IFS="
|
||||||
|
|
||||||
process () {
|
process () {
|
||||||
if [ -e "$f" ]; then
|
if [ -e "$f" ]; then
|
||||||
|
echo "adding metadata for $f"
|
||||||
for l in $(extract "$f" | egrep "$want"); do
|
for l in $(extract "$f" | egrep "$want"); do
|
||||||
field="${l%% - *}"
|
field="${l%% - *}"
|
||||||
value="${l#* - }"
|
value="${l#* - }"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
it can take a significant amount of time for the [[automatic metadata script|tips/automatically_adding_metadata/]] to run on commit. it would be nice to have some progress, otherwise it just looks like the command is hanging.
|
it can take a significant amount of time for the [[automatic metadata script|tips/automatically_adding_metadata/]] to run on commit. it would be nice to have some progress, otherwise it just looks like the command is hanging.
|
||||||
|
|
||||||
here it's been processing my photos for more than three hours, and it's probably not even halfway done, according to ps... [[anarcat]]
|
here it's been processing my photos for more than three hours, and it's probably not even halfway done, according to ps... [[anarcat]]
|
||||||
|
|
||||||
|
> Well, I added an echo of each file as it's processed. More complex
|
||||||
|
> progress could be done, patches accepted. But I suppose a file list is
|
||||||
|
> good enough; it's good enough for git-annex itself. [[done]] --[[Joey]]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue