From: jeff.covey@pobox.com (jeff covey)
Subject: [sup-talk] sup-sync-back not syncing all usual sources
Date: Thu, 14 Jun 2007 12:13:21 -0400 [thread overview]
Message-ID: <1181836972-sup-1140@mona> (raw)
sup-sync-back's help says "If no sources are given, sync back all usual
sources", but this doesn't seem to be happening.
i just tested it by commenting out the sup-sync-back section of my sup
wrapper script and marking a bunch of threads to be deleted. then i ran
this:
sup-sync-back --move-deleted ~/tmp/sup-deleted.mbox --move-spam ~/tmp/sup-deleted.mbox
, and it acted as though there were nothing to be done. then i reinstated
the part of my script which checks which sources need to be sync-backed
(included below), and it processed them all and moved the deleted messages
out of them as it should.
thanks,
jeff
ruby='ruby -I lib -w'
cd ~/tmp/sup/trunk
echo "checking for messages to delete..."
deletedids=`$ruby bin/sup-dump | grep deleted | sed -e 's/(.*//'`;
mboxes=~/mail/*-`date +%Y-%m`
for id in $deletedids ; do
deletedmboxes=`grep -l $id $mboxes`;
for mbox in $deletedmboxes ; do
$ruby bin/sup-sync-back --move-deleted ~/tmp/sup-deleted.mbox --move-spam ~/tmp/sup-deleted.mbox mbox://$mbox ;
$ruby bin/sup-sync --changed mbox://$mbox ;
done ;
done
--
jeff covey
http://jeffcovey.net/
next reply other threads:[~2007-06-14 16:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-14 16:13 jeff covey [this message]
2007-06-17 20:30 ` William Morgan
2007-06-18 1:00 ` jeff covey
2007-07-10 18:21 ` William Morgan
2007-08-30 19:50 ` jeff covey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1181836972-sup-1140@mona \
--to=jeff.covey@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox