> On Nov 8, 2024, at 17:04, sirjofri <sirjofri+ml-9f...@sirjofri.de> wrote: > > Hello everyone, > > some time ago I started working on a filesystem for vcard files. The > filesystem manages a vcard database (stored in the user lib dir), and mounts > itself to /mnt/vcard per default.
I don’t think I like the idea of one big vcf file for all contacts. I’d prefer to use a directory with a file for each contact, where the file name is the person’s name. That way it’s already easy to use cat and grep on the raw files, and easy to use tools like syncthing to keep the whole database in sync between devices (there’s much less chance of sync conflicts if it’s broken up, and the file timestamp always indicates the last-updated time for a single record. Yeah, we don’t have syncthing, but I assume you have some way to sync files for offline use.) The file server should just make each vcard file appear as a directory, and each property becomes a file inside, as you have it already. It should help with multi-process writing too, only writing to one record at a time in each process. But it’s good that you have a working parser for the most recent version. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T4d117dbbd00ae4f7-M68e41c1368ca65891193463f Delivery options: https://9fans.topicbox.com/groups/9fans/subscription