File: view_from_numeric_values.mdwn

package info (click to toggle)
git-annex 6.20170101-1%2Bdeb9u2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 50,088 kB
  • sloc: haskell: 53,116; sh: 1,582; ansic: 341; makefile: 292; perl: 144
file content (9 lines) | stat: -rw-r--r-- 386 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
Hi Joey,

it would be nice when views could take numeric comparisons as filters.

    git annex metadata -s length=273.0 john_cage_4_33.mp3

    git annex view length<=300

... here is the catch, < and > don't work well in shell, this needs some other Syntax. I think the underlying machinery (using numeric comparisons instead globs) should be quite trivial. Any Ideas about a Syntax?