Skip to content

Instantly share code, notes, and snippets.

@sn00011
Created August 22, 2012 02:56
Show Gist options
  • Save sn00011/3421841 to your computer and use it in GitHub Desktop.
Save sn00011/3421841 to your computer and use it in GitHub Desktop.
Drush delete multiple fields in one go
for field in field_hazard field_issue field_reference_msg field_sector; do drush field-delete $field -y; done
@sn00011
Copy link
Author

sn00011 commented Aug 22, 2012

I love drush, i love the shell, they save a lot of tedious work!

@theodorosploumis
Copy link

Great tip, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment