Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Aug 1996 10:28:16 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        chuckr@glue.umd.edu (Chuck Robey)
Cc:        FreeBSD-Ports@freebsd.org
Subject:   Re: using tar
Message-ID:  <199608100828.KAA07481@uriah.heep.sax.de>
In-Reply-To: <Pine.OSF.3.95.960810004936.774A-100000@modem.eng.umd.edu> from Chuck Robey at "Aug 10, 96 00:52:39 am"

next in thread | previous in thread | raw e-mail | index | archive | help
As Chuck Robey wrote:

> I want to use tar to move a directory hierarchy, but I want to do it
> without using a temp directory, ...

Aside from the responses you've got regarding tar, here's the same
with cpio:

	cd /from/dir
	find . <further restrictions if desired> -print | cpio -dump /to/dir

(The ``-dump'' is actually a combination of separate options, but easy
to memorize this way. :)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608100828.KAA07481>