Skip to main content
edited tags
Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284
added 107 characters in body
Source Link
Patoshi パトシ
  • 8.7k
  • 14
  • 80
  • 166

I have a csv file of users and I would like to use the "drush user-create" command to create an account with these users and have them blocked by default with no password.

I noticed that there is a --pipe option, but I'm unsure how to use this with drush user-create to consume a csv file.

My csv file is just an email and the state:

[email protected],ny
[email protected],nj
[email protected],oh
[email protected],wy

I have a csv file of users and I would like to use the "drush user-create" command to create an account with these users and have them blocked by default with no password.

I noticed that there is a --pipe option, but I'm unsure how to use this with drush user-create to consume a csv file.

I have a csv file of users and I would like to use the "drush user-create" command to create an account with these users and have them blocked by default with no password.

I noticed that there is a --pipe option, but I'm unsure how to use this with drush user-create to consume a csv file.

My csv file is just an email and the state:

[email protected],ny
[email protected],nj
[email protected],oh
[email protected],wy
Source Link
Patoshi パトシ
  • 8.7k
  • 14
  • 80
  • 166

How do you use Drush to import a bunch of users via a csv file from the command line terminal?

I have a csv file of users and I would like to use the "drush user-create" command to create an account with these users and have them blocked by default with no password.

I noticed that there is a --pipe option, but I'm unsure how to use this with drush user-create to consume a csv file.