Hi,
Anyone knows the curl command that will replicate the package from author to publish. The behavior i am looking, exactly same the replicate option provide via package manager console or any script snippet through which this can achieve.
Thanks,
V
Solved! Go to Solution.
Views
Replies
Total Likes
Here are a couple of sites[0],[1] that can help with Curl commands, to deploy a package you would use:
Upload a package AND install
curl -u admin:admin -F file=@"name of zip file" -F name="name of package" -F force=true -F install=true http://localhost:4505/crx/packmgr/service.jsp
Are you looking for a command that will initiate the replication from author to publish? With curl you would normally upload from your local disk.
Regards,
Opkar
[0] https://gist.github.com/sergeimuller/2916697
[1] http://www.aemcq5tutorials.com/tutorials/adobe-cq5-aem-curl-commands/
Views
Replies
Total Likes
Here are a couple of sites[0],[1] that can help with Curl commands, to deploy a package you would use:
Upload a package AND install
curl -u admin:admin -F file=@"name of zip file" -F name="name of package" -F force=true -F install=true http://localhost:4505/crx/packmgr/service.jsp
Are you looking for a command that will initiate the replication from author to publish? With curl you would normally upload from your local disk.
Regards,
Opkar
[0] https://gist.github.com/sergeimuller/2916697
[1] http://www.aemcq5tutorials.com/tutorials/adobe-cq5-aem-curl-commands/
Views
Replies
Total Likes
Yup, http://tecadmin.net/5-curl-commands-to-download-files/# raise the curiosity to know.
Views
Replies
Total Likes
Hi,
I think you're looking for this:
curl -u admin:admin -X POST http://localhost:4502/crx/packmgr/service/.json/etc/packages/my_packages/samplepackage.zip?cmd=repli...
Output should have this line:
{"success":true,"msg":"Package is replicated asynchronously"}
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies