Software >> Middleware >> Adobe >> CQ5 >> What are some example usage of curl command to manage CQ5 siteExample 1. Upload a package curl -u admin:admin -F package=@”name_of_package.zip” http://localhost:4502/crx/packmgr/service/.json/?cmd=upload
Example 2. Install a package curl -u admin:admin -X POST http://localhost:4502/crx/packmgr/service/.json/etc/packages/export/name of package?cmd=install
Example x. Build/Rebuild an existing package in CQ curl -u admin:admin -X POST http://localhost:4502:/crx/packmgr/service/.json/etc/packages/name_of_package.zip?cmd=build
Example 4. Download a package curl -u admin:admin http://localhost:4502/etc/packages/export/name_of_package.zip > name of local package file
Example 5. List contents of a package curl -u admin:admin -X POST http://localhost:4502/crx/packmgr/service/console.html/etc/packages/day/cq561/product/cq-content-5.6.1.20130606.zip?cmd=contents
|