Added a comment

This commit is contained in:
nobodyinperson 2022-12-23 10:05:27 +00:00 committed by admin
parent 8ec93b6e2f
commit 82ae848dd0

View file

@ -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\"
```
"""]]