たとえば、次のようなディレクトリ構造があるとします
/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]
コマンドラインから、ls「Math」としてタグ付けされたすべてのファイルを表示するために使用できる方法(またはそれに似たもの)はありますか?
編集:これを行うというツールを作成tfindしました:https://github.com/tlehman/bin/blob/master/tfind
2
参照してくださいgithub.com/jdberry/tag
—
mankoff
tagジェームズベリーの推薦を2番目にしましたhttps://github.com/jdberry。を介してインストールbrew install tag、タグを追加、タグをtag -a <tag> <file>検索できますtag -f <tag1, tag2>。とても便利です。私はいつも使っています。
はい、間違いなく
—
ジェイコブ
tagコマンドを取得します。brew経由で非常に簡単にインストールできます。