Gnus issue in FreeBSD
Ashish SHUKLA
ashish at FreeBSD.org
Sun Aug 8 19:01:34 UTC 2010
Carl Johnson writes:
[...]
> How do you sync the mailboxes together? That sounds like something
> that could be useful for my configuration. Actually I am trying to
> move my old mail from Linux to FreeBSD, but syncing might be an easier
> way to handle moving it.
I use following sh script to synchronize my mailbox stuff which includes
Maildirs, Gnus configuration, procmail configuration, mairix db, etc.
#v+
#!/bin/sh
cwd=$(pwd)
cd
for i in .newsrc .newsrc.eld .newsrc~ .newsrc.eld~ .newsrc-dribble~ .gnus .gnus.elc .procmailrc mail/ .maildir/ .mutt/ Mail/ News/ .mairix/; do
if [ -d ${i} ]; then cd ${i} ; fi
rsync -rvzdlt --delete /disks/bsd-home/${USER}/${i} .
if [ -d $HOME/${i} ]; then cd ; fi
done
cd ${cwd}
#v-
HTH
--
Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0
freebsd.org!ashish | http://people.freebsd.org/~ashish/
“We could tell you what it's about. But then, of course, we'd have to
kill you.” (tagline of movie "Sneakers", 1992)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100808/7a3ea1f7/attachment.pgp
More information about the freebsd-questions
mailing list