File: view_from_numeric_values.mdwn

package info (click to toggle)
git-annex 10.20230126-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 69,344 kB
  • sloc: haskell: 74,654; javascript: 9,103; sh: 1,304; makefile: 203; perl: 136; ansic: 44
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?