Archive for March, 2007

ExtractMyDMS: Extracting files from eGroupware MyDMS

I have been using eGroupware and its MyDMS plugin for a couple of months now to share files between multiple users. Although the functionality is ok, the interface is horrible and we have been thinking of moving to Relay (which looks extremely cool, but has limited functionality… I’m waiting for OpenLDAP support).

Problem is, MyDMS stores its files under an unintelligible name at an even more unintelligible location. So, how to get these files back?

I decided to write a quick PHP script, which extracts the files with a name and location that reflects the location as MyDMS presents it to the user. This is very basic export functionality as it does not copy comments, ownership or older versions of files.
The script can be downloaded here.

Simply copy the config.inc.php.example file to config.inc.php and make proper adjustments for your eGroupware/MyDMS setup. You can run the script using ‘php extractmydms.php’.