xq xml query evernote enex
random util some stuff from my history 3881 xq ~/Downloads/yarle-test/input/foo_export_test.enex 'del(.note)' 3882 xq 'del(.note)' ~/Downloads/yarle-test/input/foo_export_test.enex 3883 xq 'del(.en-export)' ~/Downloads/yarle-test/input/foo_export_test.enex 3888 xq 'del(.en-export)' ~/Downloads/yarle-test/input/foo_export_test.enex 3889 xq 'del(.note)' ~/Downloads/yarle-test/input/foo_export_test.enex 3890 xq 'del(."en-export".note)' ~/Downloads/yarle-test/input/foo_export_test.enex 3891 xq 'del(."en-export".note)' ~/Downloads/yarle-test/input/export_test.enex 3892 xq ~/Downloads/yarle-test/input/export_test.enex 3893 xq '.' ~/Downloads/yarle-test/input/export_test.enex 3898 less Blog.enex ➜ ~ ls -l /opt/homebrew/bin/xq lrwxr-xr-x 1 tjen admin 32 3 jul 19:25 /opt/homebrew/bin/xq -> ../Cellar/python-yq/3.4.3/bin/xq strip content from xml xq 'del(."en-export".note[].content)' ~/Downloads/yarle-run/input/evernote.toc/all/Blog.enex { “en-export”: { “@export-date”: “20231213T100406Z”, “@application”: “Evernote”, “@version”: “10....