In some of my last projects, I needed to create some helper scripts to extract information from an old Alfresco instance. My previous post about jq showed some of the helper scripts for getting users, groups or sites from Alfresco repository. I uploaded to github some examples:
Besides of getting basic information, I needed to extract sites data and metadata from a repo to local disk. I tried with Alfresco Bulk Export Module, but it only worked from Alfresco 4.2 and above (JDK7 needed), so I needed a simple way of downloading documents from Alfresco sites and folders, and then to extract the corresponding metadata information. For downloading sites, I thought in a old recipe that used wget command via webdav, while for extracting the corresponding metadata information I thought in a custom webscript that provides the basic metadata information in Bulk Import syntax.
You can check the details and examples for the different scripts on github: