AEM - Workaround Solution for Clean up of Packages from Package Manager in AEM
AEM Packages Clean up from Package Manager Most of the times, the repository spaces get occupied with a lot of content and as well as packages. We create the packages to bring down the content from higher environments to lower environments or vice-versa and most of the times, we don't delete them from the environment. This will also increase the usage of the repository and cleaning up at some point later is very painful, as there is no direct way to check the larger packages and delete them. There is no sorting option available in the package manager and when you have hundreds of packages, it will be a tedious process to go through every package and clean it up. Currently, only below sort options are available in the system. Name Last modified Installation date Recently added Below solution is also a manual process but it will provide the packages which are of a size more than 30/40/50 MB(this can be configurable) by running a small script in java using any IDE. I tr...