Re: Files from an old drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux