Skip to content

Instantly share code, notes, and snippets.

@benhosmer
Created March 7, 2013 12:56
Show Gist options
  • Save benhosmer/5107865 to your computer and use it in GitHub Desktop.
Save benhosmer/5107865 to your computer and use it in GitHub Desktop.
Quickly output a list of Drupal user's email addresses using mysqldump.
echo 'select mail from users' | mysql -u root -p DBNAME > /home/yourhomedirectory/users.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment