These are commonly used scripts which can be executed from java command line. There are services which can be consumed by any external application if needed. These scripts uses OOTB Alfresco REST APIs to get the information and performs the operations according to the need.
Switch branches/tags
Nothing to show
Clone or download

README.md

alfresco-scripts

These are commonly used scripts which can be executed from java command line. There are services which can be consumed by any external application if needed. These scripts uses OOTB Alfresco REST APIs to get the information and performs the operations according to the need.

###Currently available scripts:

1- Delete sites by excluding a list of site (sites which you don't want to delete)

com.github.abhinavmishra14.site.service.test.DeleteSites

2- Generate User report along with user groups. OOTB Alfresco doesn't have direct API to do get all users along with their groups at once. Though you can get user profile of a particular user along with group. This report also includes information of all the sites which the user has access. See the sample report here: samples/userReports.json

com.github.abhinavmishra14.reports.test.GenerateUserReport

3- Cleanup trash can

com.github.abhinavmishra14.trashcan.service.test.ClearTrashcan