Skip to content

terminal snippets

Peter edited this page Feb 25, 2020 · 2 revisions

Dicas para relembrar comandos que dão certo, bash snippets

grep FUNCTION prepare0*.sql | grep -v COMMENT
pg_dump -s -n stable "postgres://localhost/osm_stable_br" | grep FUNCTION | grep -v ALTER | grep -v ^\-\-  | grep -v COMMENT
pg_dump -s -n stable "postgres://localhost/osm_stable_br" | grep CREATE.TABLE