I am using the curl command to version purging , like this curl -u admin:admin -f -o progress.txt -d "cmd=Purge&maxversions=3&path=/content/dam/prime/memberportal/forms&recursive=true" "http://localhost:4502/etc/versioning/purge.html"
Its not working this folder when i tried with the subfolders its working. Its not working on top folders . Did i miss anything. Please suggest.
Solved! Go to Solution.
Thanks for suggestion. I checked the log file , i am getting this exception "com.day.cq.wcm.core.impl.VersionManagerImpl Exception during version purging. javax.jcr.UnsupportedRepositoryOperationException: Unable to perform a versioning operation on a non versionable node: /content/dam/prime/memberportal/forms/2013/Global/Other/ALL/Specialty_Monthly_Quantities.pdf" ..
Now the problem is some of the assets don't have the version. So its try to purge getting exception. How do i enable versiong for all assets or how can skip purging for without versioning assets.