1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Anthony E. Caudel wrote: |
5 |
> Peter Humphrey wrote: |
6 |
>> |
7 |
>> What tool or command do you use to make your copies? I remember |
8 |
>> seeing an invocation of tar piped to tar to ensure that all |
9 |
>> dates, permissions etc are preserved, even on pipes and other |
10 |
>> esoteric things, but my memory being what it is of course I can't |
11 |
>> remember it. |
12 |
>> |
13 |
> |
14 |
> Maybe: cd /sourcedir; tar -cpf - . | (cd /destdir; tar -xvf -) |
15 |
> |
16 |
|
17 |
Just be careful with this one. If the destination directory doesn't |
18 |
exist, then you'll overwrite the sourcefiles with the first block... |
19 |
Ooops... (Having said that, it's still my favourite way of copying |
20 |
lots of files from one place to another). |
21 |
|
22 |
H |
23 |
|
24 |
|
25 |
-----BEGIN PGP SIGNATURE----- |
26 |
Version: GnuPG v1.4.2 (GNU/Linux) |
27 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
28 |
|
29 |
iD8DBQFEfH+D/3QXwQQkZYwRAjZmAKCVqxsFYgG0EKhP+G3PNNxuuJsaqQCdGcbo |
30 |
sLp76j0jK7U/A29RUjUoFUY= |
31 |
=YCPh |
32 |
-----END PGP SIGNATURE----- |
33 |
|
34 |
-- |
35 |
gentoo-amd64@g.o mailing list |