The importer of the jcr-tools is very limited. You can only import one file at a time. Once you have uploaded a file, you also need to select the corresponding workspace. With many files to import regularly, this can be quite tedious. That's why I wrote a quick and dirty Groovy script. It automatically...
In content management systems like OpenCms or Magnolia, you often run into the problem of having to replace UUIDs. I wrote a little Bash script for that. import info.magnolia.importexport.DataTransporter import javax.jcr.ImportUUIDBehavior import groovy.io.FileType def list = [] def dir = new...
I wanted to change the language of pages in the control code. There is something in the "Content Tools" of OpenCms called "Change Element Locale", but that only changes the locale-property on pages. So I exported the content (Export Database), unzipped it, and used the following bash command: find...