Date: Mon, 29 Oct 2001 23:21:20 +0100 From: Stijn Hoop <stijn@win.tue.nl> To: smorton@acm.org Cc: Lucas Bergman <lucas@fivesight.com>, Alson van der Meulen <alson@flutnet.org>, lists@natserv.com, FreeBSD Questions List <questions@freebsd.org> Subject: Re: Archiving large number of files Message-ID: <20011029232120.C75666@pcwin002.win.tue.nl> In-Reply-To: <3BDDD302.2040109@verizon.net>; from simon.morton@verizon.net on Mon, Oct 29, 2001 at 05:06:58PM -0500 References: <20011029151306.D53339-100000@x1-6-00-50-ba-de-36-33.kico1.on.home.com> <20011029151557.Y51329-100000@zoraida.natserv.net> <20011029212551.G30280@md2.mediadesign.nl> <15325.52042.88160.224542@apu.five.sight> <20011029223601.A75666@pcwin002.win.tue.nl> <3BDDD302.2040109@verizon.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 29, 2001 at 05:06:58PM -0500, Simon Morton wrote: > > > > $ rm tarball.tar ; find . -print0 | xargs -0 tar rf tarball.tar > > > > > would probably do the trick then. > > > > --Stijn > > > > > Wouldn't > > > tar cf tarball.tar . > > or > > tar cf tarball.tar dir1 dir2 dir3 > > be the simplest way to do it? I agree that this is a simpler way to tar up a single directory, or a few directories; I believe the original poster had to specify a lot of things to backup. That's when the find | xargs answer came up. Of course, if all files are located under a single directory you're better off using your method. --Stijn -- I really hate this damned machine I wish that they would sell it. It never does quite what I want But only what I tell it. 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?20011029232120.C75666>