[NTLUG:Discuss] Moving /home

MadHat madhat at unspecific.com
Tue Sep 7 16:25:41 CDT 1999


Kathleen Weaver wrote:
> 
> I want to move my home directories (with files in them), to a different
> hard drive.  I already found out that just setting the new drive to have a
> mount point of /home doesn't work.  No files, and then I can't get to the
> files.  I tried moving them to a /newhome and then moving then, but then
> they ended up with in a directory /home/home/<username>
> 
> I'm out of ideas.  I'd like the directories to be /home/<username>

samentics

cd /home
mv * /newhome

or you can use copy if you are worried...

cd /home
cp -aR /newhome

The R is recursive and the a keeps the origional attributes.   
then once you are sure it worked, go back and delete the old ones. (I
like the 'cya' method).

-- 
MadHat




More information about the Discuss mailing list