Briefcase - Importing 200k files using python w/ curl script Your help is most appreciated.
Okay, messages, contacts, calendars, pretty easy to import and is pretty stable.
But what about importing a large file store that was a shared company drive into Briefcase?
I have been trying every which way to get this done without having to do it manually.
This file store is over 200,000 files with an extensive taxonomy of (sub)folders.
First I tar-gzip (.tgz) the entire drive. Then I try to just use the import-export function from within a Zimbra account that I am using to perform all the systemwide shares.
What's funny is that the import function does the job and results all the folders in the correct structure but no files whatsoever.
I could drag-and-drop but that would take me a week to do. So, my network guru built a python script using curl as the vehicle to pass the files to Zimbra (attached with added .txt so it doesn't run on you.) Now, it works but only to a point.
When you import a file into Zimbra or use the drag-and-drop Zimlet and Firefox XPI, Zimbra adds a companion file with the extension *.meta that has the mime-type and other information. This is essential for a working file in the Briefcase. It also allows the correct icon to show up in front of the file for the correct application association that Firefox can recognize.
Using this python script, as I said it does work but Zimbra doesn't create those *.meta companion files on the import.
It's a fairly simple affair but we just don't know enough about the innards of Zimbra to be able to make it work.
You help is most appreciated.
Last edited by bmw; 04-10-2009 at 01:48 PM..
|