Skip to content

Instantly share code, notes, and snippets.

@evilkost
Created January 12, 2015 17:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evilkost/9dc9fa9cfee48ed3b2f6 to your computer and use it in GitHub Desktop.
Save evilkost/9dc9fa9cfee48ed3b2f6 to your computer and use it in GitHub Desktop.
PGPASSWORD=coprpass psql -a -h localhost -U copr-fe coprdb -c "\copy (select api_login, api_token from public.user where username='kost2') to '/tmp/credentionals.csv' with csv "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment