Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

Software >> Middleware >> Adobe >> CQ5 >> What are some example usage of curl command to manage CQ5 site

Example 1.  Upload a package

curl -u admin:admin -F package=@”name_of_package.ziphttp://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

 

 

[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]