From owner-freebsd-questions Mon Oct 29 12: 8:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail1.toronto.istar.net (mail1.toronto.istar.net [209.89.75.17]) by hub.freebsd.org (Postfix) with ESMTP id 4C49537B406 for ; Mon, 29 Oct 2001 12:08:11 -0800 (PST) Received: from d141-119-162.home.cgocable.net ([24.141.119.162] helo=x1-6-00-50-ba-de-36-33.kico1.on.home.com) by mail1.toronto.istar.net with esmtp (Exim 2.02 #1) id 15yIhZ-0001Mp-00; Mon, 29 Oct 2001 15:08:05 -0500 Received: from localhost (genisis@localhost) by x1-6-00-50-ba-de-36-33.kico1.on.home.com (8.11.6/8.11.6) with ESMTP id f9TKE4s53357; Mon, 29 Oct 2001 15:14:06 -0500 (EST) (envelope-from genisis@istar.ca) X-Authentication-Warning: x1-6-00-50-ba-de-36-33.kico1.on.home.com: genisis owned process doing -bs Date: Mon, 29 Oct 2001 15:14:04 -0500 (EST) From: Dru X-X-Sender: To: Francisco Reyes Cc: FreeBSD Questions List Subject: Re: Archiving large number of files In-Reply-To: <20011029145551.N51234-100000@zoraida.natserv.net> Message-ID: <20011029151306.D53339-100000@x1-6-00-50-ba-de-36-33.kico1.on.home.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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