From mboxrd@z Thu Jan 1 00:00:00 1970 From: jeff.covey@pobox.com (jeff covey) Date: Thu, 14 Jun 2007 12:13:21 -0400 Subject: [sup-talk] sup-sync-back not syncing all usual sources Message-ID: <1181836972-sup-1140@mona> 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/