Skip to content

Instantly share code, notes, and snippets.

@light9
Created August 31, 2013 13:22
Show Gist options
  • Save light9/6398140 to your computer and use it in GitHub Desktop.
Save light9/6398140 to your computer and use it in GitHub Desktop.
Drupal 7 Uninstall unuserd modules (which not exist)
for FN in `drush --extra=--skip-column-names sql-query "SELECT filename FROM system WHERE status = 1"`; do [ ! -f $FN ] && echo "Missing $FN"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment