[Wine] Files from an old drive

Martin Gregorie martin at gregorie.org
Sat May 22 14:50:18 CDT 2010


On Sat, 2010-05-22 at 13:54 -0500, pyrotech91 wrote:
> John Drescher wrote:

> > Copy the old wine prefix to you new hard drive. If you want copy the
> > entire user profile.
> > 
> > 
> I'm not sure how to do that
> 
The easiest way is to make a tarball ("man tar" if you don't know how to
use tar - its a very useful item in your toolbox) of your entire user
login on your old disk: 

cd /old_disk/home
tar cvf /home/user_copy.tar myuser

and then unpack it on the new disk and discard the tarball:

cd /home
tar xvf user_copy.tar
rm user_copy.tar

If everything (programs and your password database) is in the wine
prefix, you can simplify things a little:

cd /old_disk/home/old_user
tar cvf ~/user_copy.tar .wine
cd
tar xvf user_copy.tar
rm user_copy.tar

Tar can take a list of directories to include in the tarball, so I'm
certain you'll be able to work out any variations that you might need
for your particular set-up.


Martin





More information about the wine-users mailing list