From mboxrd@z Thu Jan 1 00:00:00 1970 From: kevin.mark@verizon.net (Kevin Mark) Date: Tue, 18 Sep 2007 21:39:16 -0400 Subject: [sup-talk] unable to sup-sync (new install) In-Reply-To: <1190157448-sup-1522@south> References: <20070917032644.GD27677@horacrux> <1190048921-sup-8612@south> <20070917180710.GI27677@horacrux> <20070918062723.GA3384@die.therning.org> <1190157448-sup-1522@south> Message-ID: <20070919013916.GG22902@horacrux> On Tue, Sep 18, 2007 at 04:18:59PM -0700, William Morgan wrote: > Excerpts from Magnus Therning's message of Mon Sep 17 23:27:23 -0700 2007: > > If support for maildir++ is added (that's the extension to maildir > > that allows sub-folders) then it would make sense to just add > > maildir:~/Maildir and have all sub folders added as well. > > I've received a similar request for IMAP (add all folders at once). In > the mean time, as you point out, you can sup-add each Maildir folder > individually and take advantage of shell globbing to do it one command > if desired. I'm content to leave it at that for the near future and not > invest time in explicit Maildir++ support. > > -- > William > _______________________________________________ > sup-talk mailing list > sup-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/sup-talk > I used this to add my maildir: ====================================== find ~/Maildir -type d|grep "/cur$"|rev|cut -d"/" -f2-|rev|grep -vi mfolder|while read line; do N=$(ls $line/cur/|wc -l) #find the number of messages #only add if non-zero (otherwise error?) if [ "$N" != "0" ]; then sup-add maildir:$line/; fi done ====================================== sup-add noted duplicates, which is good. -K -- | .''`. == Debian GNU/Linux == | my web site: | | : :' : The Universal |mysite.verizon.net/kevin.mark/| | `. `' Operating System | go to counter.li.org and | | `- http://www.debian.org/ | be counted! #238656 | | my keyserver: subkeys.pgp.net | my NPO: cfsg.org | |join the new debian-community.org to help Debian! | |_______ Unless I ask to be CCd, assume I am subscribed _______|