Re: Copy EVERYTHING

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

 



> On Tue, 2006-12-05 at 10:18 +0800, Hadders wrote:
> >  > cd /oldpart;  find . -xdev | cpio -padm /newpart
> > 

The cpio command doesn't preserve the timestamp on directories.

The tar version does:

cd /oldpart
tar cvf - . | ( cd /newpart ; tar xf -)






[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux