Added a comment
authornobodyinperson <nobodyinperson@web>
Fri, 23 Dec 2022 10:05:27 +0000 (10:05 +0000)
committeradmin <admin@branchable.com>
Fri, 23 Dec 2022 10:05:27 +0000 (10:05 +0000)
doc/todo/--metadata_fieldname__62____61__VALUE_string_comparison/comment_5_afba02fb24eddc6569dce63ffe606dcf._comment [new file with mode: 0644]

diff --git a/doc/todo/--metadata_fieldname__62____61__VALUE_string_comparison/comment_5_afba02fb24eddc6569dce63ffe606dcf._comment b/doc/todo/--metadata_fieldname__62____61__VALUE_string_comparison/comment_5_afba02fb24eddc6569dce63ffe606dcf._comment
new file mode 100644 (file)
index 0000000..ffa3fb6
--- /dev/null
@@ -0,0 +1,16 @@
+[[!comment format=mdwn
+ username="nobodyinperson"
+ avatar="http://cdn.libravatar.org/avatar/736a41cd4988ede057bae805d000f4f5"
+ subject="comment 5"
+ date="2022-12-23T10:05:26Z"
+ content="""
+A very nice benefit of this feature is that we can now `git annex find` files depending on when their metadata was changed:
+
+```sh
+# annexed files which have recently had their metadata changed
+git annex find --metadata \"lastchanged>=$(date -d'2 days ago' +%Y-%m-%d@%H-%M-%S)\"
+
+# annexed files which have their tag changed in a specific week
+git annex find --metadata \"tag-lastchanged>=2022-12-18\"  --and --metadata \"tag-lastchanged<=2022-12-25\"
+```
+"""]]