Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Oct 2001 15:14:04 -0500 (EST)
From:      Dru <genisis@istar.ca>
To:        Francisco Reyes <lists@natserv.com>
Cc:        FreeBSD Questions List <questions@FreeBSD.ORG>
Subject:   Re: Archiving large number of files
Message-ID:  <20011029151306.D53339-100000@x1-6-00-50-ba-de-36-33.kico1.on.home.com>
In-Reply-To: <20011029145551.N51234-100000@zoraida.natserv.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 29 Oct 2001, Francisco Reyes wrote:

> I have several directories with 20,000+ files which I need to archive. I
> have been trying tar+Gzip, but the files are too many for tcsh to handle
> in one pass any suggestions on how to go about this?
>
> Tar itself handles the files ok so I have been doing several passes and
> sending them to a tar file, but it takes several passes.
>
> One solution I am contemplating is to use find and to tar update each file
> to the tar file.
>
> Also tried creating a file and having tar read it, but the end result on
> the tar archive was larger than the files on the directory (although that
> test was done by one of my co-workers).

Hi Francisco,

I think piping through "xargs" would do the trick.

Dru


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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