From owner-freebsd-questions Sat Jul 27 19:24:20 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BBCE37B400 for ; Sat, 27 Jul 2002 19:24:18 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD2B743E42 for ; Sat, 27 Jul 2002 19:24:17 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.6+Sun/8.11.6) id g6S2OAm24350; Sat, 27 Jul 2002 22:24:10 -0400 (EDT) From: Jerry McAllister Message-Id: <200207280224.g6S2OAm24350@clunix.cl.msu.edu> Subject: Re: Tar and RM To: raiden@shell.core.com (Steven Lake) Date: Sat, 27 Jul 2002 22:24:10 -0400 (EDT) Cc: jerrymc@clunix.cl.msu.edu (Jerry McAllister), raiden@shell.core.com (Steven Lake), freebsd-questions@FreeBSD.ORG In-Reply-To: from "Steven Lake" at Jul 26, 2002 07:36:55 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 > > > tar cf /some/place/with/room/mydir.tar /usr/local/dir_to_tar > > > > Will tar up everything in /usr/local/dir_to_tar and make > > a tarfile called mydir.tar in /some/place/with/room/ > > All file names will have full paths within your current when you > > untar them later > > as in /usr/local/dir_to_tar/coolpic.jpg > > Cool. So if I understand this correctly, it will also grab things > like /usr/local/dir_to_tar/some_subdir/another_subdir/somefile.jpg? Or > will it only get stuff in ./dir_to_tar > It will get everything starting with /usr/local/dir_to_tar and under unless you use some flags to tell it otherwise. Throw in the -v flag as in: tar cvf /some/place/with/room/mydir.tar /usr/local/dir_to_tar and watch it all go flying by if such is your penchant.. ////jerry > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message