2009/7/7 Rory Browne <rbmlist at gmail.com>
> > This is exactly why you use rsync - no need to mess with find, just run
> > rsync again and it will only copy what's new.
>> rsync would probably be better in this case than find/cpio. I was
> half-asleep when I wrote that last-night, but find/cpio would have
> been much better than any of the other solutions, which got into
> associative arrays etc, that were presented earlier.
Ok so its looking like this:
1. write a script to copy the bulk of the old mails that have already been
copied to the new server. (using cp, find and some way to link old usernames
to new usernames)
2. Copy the remaining emails not copied (as the old server is still live)
using rsync and some way to link the old usernames to the new.
OR
1. Just rsync the lot and don't use the maildirs already copied to the new
server.
Either way I still need a way to link the old usernames to the new and that
looks like I'll need to use some sort of a table. How would I go about that?
Patrick
>>>> >> I'll delve into the manuals for find and cpio to see what I can come up
> >> with.
> >
> > Repeat after me - rsync, rsync, rsync.
> >
> Ok ok ok - you win.
>
--
Blog: http://patrickoconnor.ie/blog
Company: http://www.synchronicity.ie
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!