[wplug] cp Maildir to new machine

John Harrold jmh17 at pitt.edu
Mon Jan 3 13:42:31 EST 2005


Sometime in January Scott F. Kiesling assaulted the keyboard and produced:

| Hi-
| 
| I just got a new laptop (IBM T42, very nice) and have
| installed Gentoo. I've got mutt, etc up and running, but
| would like to get my mail off my old machine, which will not
| connect to the net (hence new laptop). I can copy to a USB
| drive and then copy from that to my new machine.
| 
| I am having trouble getting past the suffixes at the end of
| Maildir files (e.g., "<filename>:2,S"). cp will not copy
| these, tar will not tar them, and I can't find a script to
| do it for me, except at the Google cache below, which
| doesn't seem to work. Perhaps someone help, either with
| clever suggestions or the way I would go about making a
| script that deals with these suffixes.
| 
| http://64.233.161.104/search?q=cache:RRDWAK2puHMJ:smtp.linux-sxs.org/pipermail/linux-users/2003-December/024898.html+backup+maildir+files+cp&hl=en

Have you tried rsync?

rsync -av -e "ssh -2" /var/mail/whatever/ root at mail:/var/mail/whatever

Just a thought.

-- 
---------------------------------------------------------- 
                            | /"\                         
 john harrold               | \ / ASCII ribbon campaign   
 jmh at member.fsf.org      |  X  against HTML mail       
 the most useful idiot      | / \                         
----------------------------------------------------------
 What difference does it make to the dead, the orphans, 
 and the homeless, whether the mad destruction is brought 
 under the name of totalitarianism or the holy name of 
 liberty and democracy?
 --Gandhi
----------------------------------------------------------
  gpg --keyserver keys.indymedia.org --recv-key F65A739E
----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://penguin.wplug.org/pipermail/wplug/attachments/20050103/c58422d4/attachment.bin


More information about the wplug mailing list