summaryrefslogtreecommitdiff
path: root/doc/todo
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-07-27 10:46:25 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-07-27 10:46:25 -0400
commitd87485c2b532ad2d52aa1829a1b30e3519d2cbb1 (patch)
tree24ae6d6ef4a807c81534ba56c7fcb9e7c2a6ba28 /doc/todo
parent2cb464a0e641254aa28a788587b089022922577a (diff)
Added metadata --batch option, which allows getting, setting, deleting, and modifying metadata for multiple files/keys.
Diffstat (limited to 'doc/todo')
-rw-r--r--doc/todo/ability_to_set_metadata_from_json.mdwn11
-rw-r--r--doc/todo/metadata_--batch.mdwn2
2 files changed, 11 insertions, 2 deletions
diff --git a/doc/todo/ability_to_set_metadata_from_json.mdwn b/doc/todo/ability_to_set_metadata_from_json.mdwn
index ee4d68823..1129650a0 100644
--- a/doc/todo/ability_to_set_metadata_from_json.mdwn
+++ b/doc/todo/ability_to_set_metadata_from_json.mdwn
@@ -1,6 +1,13 @@
-I can export metadata to JSON format, which is nice as this can now be read into any other tool and manipulated. But I cannot find a way to set the metadata from JSON and so I am left to figure out what changes need to be made via the g-a interface to get to the desired state, and that is hard to get right.
+I can export metadata to JSON format, which is nice as this can now be read
+into any other tool and manipulated. But I cannot find a way to set the
+metadata from JSON and so I am left to figure out what changes need to be
+made via the g-a interface to get to the desired state, and that is hard to
+get right.
-Maybe g-a metadata could grow an import-json function which would set (overwrite) the metadata for the given file(s) from JSON input.
+Maybe g-a metadata could grow an import-json function which would set
+(overwrite) the metadata for the given file(s) from JSON input.
Thanks,
-m
+
+> [[done]] via `git annex metadata --batch --json` --[[Joey]]
diff --git a/doc/todo/metadata_--batch.mdwn b/doc/todo/metadata_--batch.mdwn
index 2680dfd2b..b65dc3ef5 100644
--- a/doc/todo/metadata_--batch.mdwn
+++ b/doc/todo/metadata_--batch.mdwn
@@ -1 +1,3 @@
[[!meta author=yoh]]
+
+> [[done]] (using json input) --[[Joey]]