About Clean Empty Page File Dirs

Goes through all of your /site/assets/files/ directories and removes those that have no files in them.

Category 1Development Tools
Modules that have more to do with assisting development of a site rather than managing its content.
Category 2Admin Helpers
Admin helper modules are those that provide helpful tools, UI enhancements or optimizations to the admin panel (excluding Fieldtype or Inputfield modules).
Release StateBeta
Close to stable, but users are advised to be cautious and test thoroughly.*
Authorryan
Module Version0.0.3
Class NamePageCleanEmptyDirs
Compatibility2.2, 2.3, 2.4, 2.5, 2.6, 2.7
Date AddedAugust 3, 2012
Recommended ByNew recommendations may take up to 1 day to appear.

Details

Pages with file/image fields require a directory, so you should expect that some of the removed directories will be re-created by these pages.

Instructions

Install the same way you would any other module

  • Copy PageCleanEmptyDirs.module to /site/modules/
  • Go to Admin > Modules > Check for new modules
  • Click install for this module, under the "Page" section and titled "Clean Empty Page File Dirs".
  • Click the checkbox in this module's config screen and submit.

README

Clean empty file directories for ProcessWire pages

Summary

Goes through all of your /site/assets/files/ directories and removes those that have no files in them.

Pages with file/image fields require a directory, so you should expect that some of the removed directories will be re-created by these pages.

How to install

Install the same way you would any other module

  1. Copy PageCleanEmptyDirs.module to /site/modules/
  2. Go to Admin > Modules > Check for new modules
  3. Click install for this module, under the "Page" section and titled "Clean Empty Page File Dirs".
  4. Click the checkbox in this module's config screen and submit.

Comments

No comments yet. Be the first to post!

Post a Comment

Your e-mail is kept confidential and not included with your comment. Website is optional.