8 Dec
2009
8 Dec
'09
3:28 p.m.
On Tue, 2009-12-08 at 14:29 -0500, Dave McGuire wrote:
dsync convert 'maildir:~/Maildir-fs:LAYOUT=fs'
I think convert-tool could also do it, but it wouldn't preserve UIDs. And I'm not sure if it would actually copy or hard link the files. In any case neither would do just simple renaming..
Would this just be a matter of creating subdirs and moving the
files? If there are no other concerns, a simple awk script could to
that pretty easily.
Yes, it should be pretty easy to create a script that just renames/mkdirs as necessary.