forum/Wishlist: Ways of selecting files based on meta-informationgit-annexhttp://git-annex.branchable.com/forum/Wishlist__58___Ways_of_selecting_files_based_on_meta-information/git-annexikiwiki2016-03-12T16:58:09Zfiltering based on git-commitshttp://git-annex.branchable.com/forum/Wishlist__58___Ways_of_selecting_files_based_on_meta-information/comment_1_818f38aa988177d3a9415055e084f0fb/chrysn2016-03-12T16:58:09Z2011-06-23T13:56:35Z
<p>additional filter criteria could come from the git history:</p>
<ul>
<li><code>git annex get --touched-in HEAD~5..</code> to fetch what has recently been worked on</li>
<li><code>git annex get --touched-by chrysn --touched-in version-1.0..HEAD</code> to fetch what i've been workin on recently (based on regexp or substring match in author; git experts could probably craft much more meaningful expressions)</li>
</ul>
<p>these options could also apply to <code>git annex find</code> -- actually, looking at the normal file system tools for such tasks, that might even be sufficient (think <code>git annex find --numcopies-gt 3 --present-on lanserver1 --drop</code> like <code>find -iname '*foo*' -delete</code></p>
<p>(i was about to open a new forum discussion for commit-based getting, but this is close enough to be usefully joint in a discussion)</p>
comment 2http://git-annex.branchable.com/forum/Wishlist__58___Ways_of_selecting_files_based_on_meta-information/comment_2_97e2ed48bd552d02918c4f98f963e6e1/joey2016-03-12T16:58:09Z2011-09-19T18:46:35Z
This is now almost completely implemented. See <span class="createlink"><a href="http://git-annex.branchable.com/ikiwiki.cgi?do=create&from=forum%2FWishlist__58___Ways_of_selecting_files_based_on_meta-information%2Fcomment_2_97e2ed48bd552d02918c4f98f963e6e1&page=walkthrough%2Fpowerful_file_matching" rel="nofollow">?</a>powerful file matching</span>.