Problem Statement:
How to create a package using a list of paths?
Requirement:
Create a package for a list of paths using the ACS commons query package tool
Introduction:
Usually, when we try to create a package of content from the lowers or prod environment, we provide a list of pages we are trying to create a package for by going into the edit.

What about the assets related to those pages? Again, you need to get the list of assets and edit the package.
Is there a way we can create a package using the ACS Commons tool?
The simple answer is Yes.
Go to using http://{domain}/miscadmin#/etc/acs-commons/packagers and create a page using Query Packager template as shown:

Open the page and edit the configuration and fill the fileds
- Add package details
- Select query language has List
- Paste the all the paths
- Make sure if you want only the page in the list then add “/jcr:content” else it will get child pages as well
- Save and click on create package
- If you want package from publisher env, then activate the page and go to the miscadmin path and click on the create package

Unfortunately, it won’t show if the package is created or not but if you go to crx/packmgr url you will see the package
