removed
This commit is contained in:
parent
b66cb8e120
commit
f25f24c9dd
1 changed files with 0 additions and 17 deletions
|
@ -1,17 +0,0 @@
|
||||||
[[!comment format=mdwn
|
|
||||||
username="CandyAngel"
|
|
||||||
avatar="http://cdn.libravatar.org/avatar/15c0aade8bec5bf004f939dd73cf9ed8"
|
|
||||||
subject="comment 3"
|
|
||||||
date="2018-10-15T12:59:24Z"
|
|
||||||
content="""
|
|
||||||
Hm.. if you want to just drop the JPGs which have known RAW versions, you can set some metadata to say it has a RAW version (again, I'd just set it to the key of the RAW as it makes it easier to get/find later) and then drop JPGs which have that field set.
|
|
||||||
|
|
||||||
git annex metadata -s derived_from_raw=SHA256E-s[...].RAW DCIM_0001.JPG
|
|
||||||
git annex drop --metadata 'derived_from_raw=*' --include '*.JPG'
|
|
||||||
|
|
||||||
Need to check the `--metadata` matching filter works as intended there..
|
|
||||||
|
|
||||||
Given your criteria is only \"file in the current directory with the same name, but different extension\", you could script the population of that metadata field.
|
|
||||||
|
|
||||||
This will drop the JPGs where you've indicated it has a RAW even if that RAW isn't present though. I'm not entirely sure what behavior you want..
|
|
||||||
"""]]
|
|
Loading…
Add table
Reference in a new issue