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

Re: tar, cpio, or cp?



Peter S Galbraith wrote:
> The asterisk was perhaps a bad example.  This works for me (including all
> dot files):
> 
> tar cf /path | ( cd other/path ; tar xvf -)
> 
> Some people add a bunch of other flags to tar.

Wading in late but....

Why not

	cd /path; find . | cpio -dump /other/path

Does everything, leaves it just as it was.  Or if you don't want to cross
file system boundaries

	cd /path; find . -mount | cpio -dump /other/path

(We now return to your regularly scheduled messages...)


Stephen
---
"Normality is a statistical illusion." -- me



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