File: view_from_numeric_values.mdwn

package info (click to toggle)
git-annex 5.20141125
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 37,828 kB
  • ctags: 583
  • sloc: haskell: 42,582; sh: 1,080; ansic: 498; makefile: 316; perl: 125
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?