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

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
	be better.

	echo test >'new
line'

> 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?
-- 
tv-nospam-sig-1@hq.yok.utu.fi - 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
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: