psql -U postgres -d misskey -t -A -c "select replace(text, E'\\n', ' ') from note where \"userId\" = '9lf1cyhacboh0005' and (visibility = 'public' or visibility = 'home') and not \"localOnly\" and cw is null and text is not null;" > export.txtthat's gonna export public and home visibility notes and nothing with cws on it, also change the userid too
