Skip to content

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

Notifications You must be signed in to change notification settings

ryancramerdesign/PageCleanEmptyDirs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages