Skip to content

Zipgrep

Examples

모든 mxl파일의 "accidental" 문자를 찾는 방법
find . -iname "*.mxl" -exec zipgrep "accidental" {} \; > ~/Downloads/accidental.txt
  • 여담으로 이 후 cat ~/Downloads/accidental.txt | grep -v '<supports' | sort | uniq | awk -F: '{print $2}' | sort | uniq 를 사용하여 모든 압축된 MusicXML 파일 (.mxl)의 <accidental> Element 를 찾아낸다.

See also