[CentOS] tar question
hyclak at math.ohiou.edu
Thu Jun 7 13:18:28 UTC 2007
On Thu, Jun 07, 2007 at 02:11:23PM +0100, Tom Brown enlightened us:
> Using tar i normally create an archive etc and then unpack that archive,
> job done.
> But i am copying from one filesystem to another on the same host, they
> are 2 seperate nfs filesystems, and i wonder is it possible to use tar
> to do this as opposed to say rsync etc.
> tar -cvf /some/input/dir to/here etc ?
I believe it goes something like:
tar cvf - . | (cd /to/here; tar xvf -)
Department of Mathematics
Department of Social Work
More information about the CentOS