Re: repartitioning without losing data

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

 



On Fri, Jan 02, 2004 at 08:29:52AM -0600, Ed Wilts wrote:
> 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.

The latest rev of rsync just landed in freshmeat yesterday. The
changelog indicated that wildcard handling has been changed so there
may be some re-learning involved if anybody upgrades.

-- 
Jack Bowling
mailto: jbinpg@xxxxxxx


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux