Re: tar, cpio, or cp?
On Tue, Nov 25, 1997 at 10:40:10AM +0100, Francesco Potorti` wrote:
> tar cf /path | ( cd other/path ; tar xvf -)
This one's good.
> cd /path; find . | cpio -dump /other/path
This one (actually, find) won't handle filenames with newlines.
If dump would have something like xargs -0 parameter it would
echo test >'new
> Why not
> cp -a /path /other/path
Won't handle devices, pipes, etc.
> but after a first look none of the three seems to do everything right,
Why isn't the tar one good?
firstname.lastname@example.org - it's a valid address w/o spam | +358-50-5124907
f u cn rd ths, thn u cn rd perl 2 | rm -rf / && echo bye-bye. | --tv
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .