Browse Source

Add a script to find things tagged as x in annex repos

Samuel W. Flint 2 years ago
parent
commit
abd81f52a6
1 changed files with 12 additions and 0 deletions
  1. 12 0
      find-tagged

+ 12 - 0
find-tagged

@@ -0,0 +1,12 @@
+#!/bin/sh
+
+if [ $# -lt 1 ]
+then
+    echo "$(basename $0) TAG args*" >&2
+    exit 1
+fi
+
+TAG=$1
+shift
+
+git annex find --metadata "tag=${TAG}" $@