[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: repartitioning without losing data
- From: Ed Wilts <ewilts ewilts org>
- To: redhat-list redhat com
- Subject: Re: repartitioning without losing data
- Date: Fri Jan 2 09:30:01 2004
On Fri, Jan 02, 2004 at 01:08:15AM -0600, Rodolfo J. Paiz wrote:
> >P.S. Sean/Rodolfo/Ed, if I've forgotten anything, please speak up. I
> >need sleep. ;-)
You're the RHCE, not me :-). And it's morning for me now, and I haven't
had my coffee yet.
> 6) I think "rsync -avP /mnt/home/* /home/" be neater. Ownership,
> permissions, creation and modification times will be more carefully kept
> intact. And overall, I just trust rsync more than mv, since that's what I
My personal preference has been cp -a, but that's just me.
> For the OP: rsync and mv are both very sensitive about trailing slashes.
> Using "/home" means the home directory itself, and in some cases also its
> contents. Using "/home/" with a trailing slash means the contents of /home,
> equivalent to /home/*. So to illustrate:
Be *very* careful with this. Syntax like /home/* isn't the right
answer, since dot files won't move/copy. In /home, that probably isn't
an issue, but it would be if I were to move /home/ewilts/*
In any case, always double check with ls -Al and du to make sure you've got
all the files you're supposed to have.
--
Ed Wilts, Mounds View, MN, USA
mailto:ewilts ewilts org
Member #1, Red Hat Community Ambassador Program
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]