AEM - Curl command to get the packages List Sort by size

Packages List 

The below command provides us the list of packages in AEM sort by the package 

curl -u admin:admin http://localhost:4502/crx/packmgr/list.jsp \
| jq '[.results[] | {path: .path, name: .downloadName, size: .size}] | sort_by(.size) | reverse'


Comments

Popular posts from this blog

Delete DAM Asset using Workflow

Groovy Console Integration and executing scripts in AEM

AEM Project Maven Build - Easy setup and steps to run commands via command line