Site Cleanup

Component ID

1888466

Component name

Site Cleanup

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

If you want to keep all the customizations of modules and themes of your site and for any reason you want to delete all content, this tool will help.

Cleans your website, removing:

  • Content
  • Taxonomy
  • Menus
  • Users
  • Paths
  • Sitemap
  • Logs
  • Metatags
  • Dart
  • Languages

Its possible to extend it and create other items to clean up.

Installation

Put the modules into your sites/module folder
Visit Configuration > System > Site Cleanup

Drush

Examples:
Help: drush site-cleanup --help
Cleaning menus: drush site-cleanup --main-menu --secondary-menu

ps: Use with caution, after this your site might look a bit empty.