diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-06-15 15:27:17 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-06-15 15:27:17 -0400 |
commit | 49a55ccd54149793eac0e48b9ab6c724e37fed7b (patch) | |
tree | b17238444387ebc4cf47a752382a368d0aef1a83 | |
parent | 80e608341e2e39f560711f7c9410c619d8f6c1b6 (diff) |
add basic progress
-rwxr-xr-x | doc/tips/automatically_adding_metadata/pre-commit-annex | 1 | ||||
-rw-r--r-- | doc/todo/git-annex_metadata_extractor_progress_bar.mdwn | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/doc/tips/automatically_adding_metadata/pre-commit-annex b/doc/tips/automatically_adding_metadata/pre-commit-annex index fe818d032..873284d2c 100755 --- a/doc/tips/automatically_adding_metadata/pre-commit-annex +++ b/doc/tips/automatically_adding_metadata/pre-commit-annex @@ -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#* - }" diff --git a/doc/todo/git-annex_metadata_extractor_progress_bar.mdwn b/doc/todo/git-annex_metadata_extractor_progress_bar.mdwn index 599e386ca..87fcdae92 100644 --- a/doc/todo/git-annex_metadata_extractor_progress_bar.mdwn +++ b/doc/todo/git-annex_metadata_extractor_progress_bar.mdwn @@ -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. 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]] |