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 -)


I thought, that a "cp -a" would do the same....

cu,
Joe

-- 
Dipl.-Ing. Jörg Ventker, RHCE      eMail joe@xxxxxxxxxxxxxxxxx
Schlösserweg 26                    phone (+49)(0)2572-87 14 87
D-48282 Emsdetten                  mobil (+49)(0)170-44 900 14 (pref)


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

  Powered by Linux