Scan and purge unused assets
To install Spruce Lee, follow these steps:
- Download & unzip the file and place the
spruceleedirectory into yourcraft/pluginsdirectory - -OR- do a
git clone ???directly into yourcraft/pluginsfolder. You can then update it withgit pull - -OR- install with Composer via
composer require /sprucelee - Install plugin in the Craft Control Panel under Settings > Plugins
- The plugin folder should be named
spruceleefor Craft to see it. GitHub recently started appending-master(the branch name) to the name of the folder for zip file downloads.
Spruce Lee works on Craft 2.4.x and Craft 2.5.x.
Spruce Lee is a plugin for clearing out unused assets from a Craft build.
It does this by looping through assets that do not have relationships and storing a record of these.
It then destroys identified records through the Craft Asset API.
-Insert text here-
- remove relevant records in the
craft_assetfilestable? - clean out empty folders
- clean out empty/unusued asset sources
- Release it
