[vox-tech] merging mbox archives
Mark K. Kim
vox-tech@lists.lugod.org
Thu, 25 Jul 2002 21:48:41 -0700 (PDT)
If your old mails are in /mnt/home/en/Mail, and your new mails go in
/home/en/Mail, just `cp -ai /mnt/home/en/Mail /home/en/Mail`. If you got
some mails already, something like:
for i in /mnt/home/en/Mail/*; do cat $i >> /home/en/Mail/$i; done
should do it, given you don't have any files in /mnt/home/en/Mail/* that
has spaces in filenames.
Your mileage may vary. Backup everything first.
-Mark
On Thu, 25 Jul 2002, eric nelson wrote:
> I got a new hard drive. My old mail is in /mnt/home/en/Mail. I guess it is
> mbox format (I use kmail). Is there an easy way to merge the old mail w/ the
> new one?
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>
--
Mark K. Kim
http://www.cbreak.org/
PGP key available upon request.