Curl command to copy just one node property to another node | Community
Skip to main content
New Participant
October 16, 2015
Solved

Curl command to copy just one node property to another node

  • October 16, 2015
  • 1 reply
  • 986 views

Hi all,

My requirement is to copy a node property from one node1 to other node2. I see there are curl commands for copying the entire node but i do not see anything where we can copy a specific property from node1 to node2

Copy Command
curl -u admin:admin -F:operation=copy -F:dest=/path/to/destination http://localhost:4505/path/to/source

Is there any modification i can do for just copying one property instead of entire node ?

 

Thanks in advance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

As discussed in this Apache topic - it will move the node.                     

https://sling.apache.org/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html

You use Curl to move content; you cannot move just a property

1 reply

smacdonald2008
smacdonald2008Accepted solution
New Participant
October 16, 2015

As discussed in this Apache topic - it will move the node.                     

https://sling.apache.org/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html

You use Curl to move content; you cannot move just a property