From owner-freebsd-questions@FreeBSD.ORG Thu Oct 30 04:00:32 2003 Return-Path: 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 9470F16A4CF for ; Thu, 30 Oct 2003 04:00:32 -0800 (PST) Received: from tomts16-srv.bellnexxia.net (tomts16.bellnexxia.net [209.226.175.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6F6B43FBD for ; Thu, 30 Oct 2003 04:00:30 -0800 (PST) (envelope-from matt@gsicomp.on.ca) Received: from hermes ([65.95.186.97]) by tomts16-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20031030120029.EDIF18664.tomts16-srv.bellnexxia.net@hermes>; Thu, 30 Oct 2003 07:00:29 -0500 Message-ID: <00a201c39edd$0ae6e150$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Xpression" , "FreeBSD-questions" References: <001501c39e99$dafacbc0$0801a8c0@bloodlust> Date: Thu, 30 Oct 2003 06:57:35 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: tar question... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 12:00:32 -0000 > Hi list, the question is: can I tar a hole directory without include the > tree ??? I mean when I tar all files in a /dir1/dir2/dir3 path, the tar file > includes me the path too and I want to tar only the filenames in dir3: I'm > using the syntax tar -czf /path/to/store/myfile.tgz > /the/path/where/are/the/files, any clue ???? Thanksssss... cd /the/path/where/are/the/files tar -czf /path/to/store/myfile.tgz . -- Matt Emmerton