Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Current art for sup-sync-back and maildir
@ 2009-12-16  1:39 Edward Z. Yang
  2009-12-19 18:57 ` William Morgan
  0 siblings, 1 reply; 2+ messages in thread
From: Edward Z. Yang @ 2009-12-16  1:39 UTC (permalink / raw)
  To: sup-talk

What is the current art of backwards synchronization for
maildir sources?  I'm almost out of quota on my main account
and I'd like to make OfflineImap purge all of the messages I've
deleted over the years (I also don't relish the prospect of
running a sup-sync after manually deleting messages myself).

Cheers,
Edward
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [sup-talk] Current art for sup-sync-back and maildir
  2009-12-16  1:39 [sup-talk] Current art for sup-sync-back and maildir Edward Z. Yang
@ 2009-12-19 18:57 ` William Morgan
  0 siblings, 0 replies; 2+ messages in thread
From: William Morgan @ 2009-12-19 18:57 UTC (permalink / raw)
  To: sup-talk

Reformatted excerpts from Edward Z. Yang's message of 2009-12-15:
> What is the current art of backwards synchronization for
> maildir sources?  I'm almost out of quota on my main account
> and I'd like to make OfflineImap purge all of the messages I've
> deleted over the years (I also don't relish the prospect of
> running a sup-sync after manually deleting messages myself).

Sadly, there is no art. No one ever got around to implementing this.
You could do it manually via devel/console.sh (or the in-screen console)
with a little effort.

Something like:

  $ sh devel/console.sh
  > s = SourceManager.source_for "maildir:/WHATEVER"
  > q = Index.parse_query "label:deleted source:#{s.id}"
  > Index.each_id(q) { |id| fn = s.filename_for_id(id); puts "delete #{fn}" }

(You'll have to use the most recent git because I just added the
Maildir#filename_for_id method.)
-- 
William <wmorgan-sup@masanjin.net>
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-19 18:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-16  1:39 [sup-talk] Current art for sup-sync-back and maildir Edward Z. Yang
2009-12-19 18:57 ` William Morgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox