Added a comment
This commit is contained in:
parent
8ec93b6e2f
commit
82ae848dd0
1 changed files with 16 additions and 0 deletions
|
@ -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\"
|
||||
```
|
||||
"""]]
|
Loading…
Reference in a new issue