I have a sling JCR
resource tree, there is resource folder named test
and file named testFile
inside. testFile
have own structure(subnodes/files) inside, I want copy all of them(with subnodes)
/root
|_test
|_testFile
For server test I want to make copy N-times of this file. Any idea how to do it using ResourceResolver
?
I need to have as below:
/root
|_test
|_testFile
|_testFile1
...
|_testFileN