Copy EVERYTHING
joe at illegal-access.de
joe at illegal-access.de
Tue Dec 5 14:54:25 UTC 2006
>> 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 at illegal-access.de
Schlösserweg 26 phone (+49)(0)2572-87 14 87
D-48282 Emsdetten mobil (+49)(0)170-44 900 14 (pref)
More information about the fedora-list
mailing list