For example, suppose I have a directory structure such as
/Users
/tlehman
/Math
algebraic_varieties.tex [tagged: Math, Documentation]
projective_geometry.pdf [tagged: Math]
/Development
visualize_surfaces.py [tagged: Math, Programming]
solve_polynomials.scm [tagged: Math]
/guest
/Desktop
welcome.rtf [tagged: Documentation]
/Volumes
/USBKey
assignments_for_may.txt [tagged: Math]
using_LaTeX.pdf [tagged: Documentation]
From the command line, is there a way I can use ls
(or something like it) to display all the files tagged as "Math"?
EDIT: I made a tool called tfind
that does this: https://github.com/tlehman/bin/blob/master/tfind
tag
by James Berry athttps://github.com/jdberry
. You can install it viabrew install tag
, add a tag viatag -a <tag> <file>
, find tags viatag -f <tag1, tag2>
. Very, very handy, I use it all the time.tag
command. Installs via brew very easily.