On April 22nd 2014, I opened a thread [“How to avoid colons in file names?”][1]. Using a Linux system, I was mbsync’ing to a directory tree that in turn is synced to Dropbox. However, mail files didn’t download from Dropbox to a Windows system. The problem is that file names in Maildir format contain colons, which Windows doesn’t like.
Finally, I found a simple solution by using [posixovl][2], the “POSIX Overlay Filesystem”. Prior to running `mbsync` a Windows-compatible directory is connected to another directory: mount.posixovl -S $WINDOWS_COMPATIBLE_DIR $MOUNTPOINT Now, when `mbsync` writes files, then colons are substituted. Example: * `mbsync` writes: $MOUNTPOINT/INBOX/cur/1398241472.10756_18830.linux:2,S * posixovl actually stores as file name: $WINDOWS_COMPATIBLE_DIR/INBOX/cur/ 1398241472.10756_18830.linux%(3A)2,S * The mapping between POSIX file names and the Windows-compatible file names happens by means of dot files, one for each file: $WINDOWS_COMPATIBLE_DIR/INBOX/cur/ .pxovl.1398241472.10756_18830.linux%(3A)2,S Contents: 100600 1 222 500 0:0 [1]: http://sourceforge.net/p/isync/mailman/message/32256885/ [2]: http://sourceforge.net/projects/posixovl/ ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel