From owner-freebsd-questions@FreeBSD.ORG Sun Aug 29 07:37:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DEE010656B0 for ; Sun, 29 Aug 2010 07:37:32 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq3.gn.mail.iss.as9143.net (smtpq3.gn.mail.iss.as9143.net [212.54.34.166]) by mx1.freebsd.org (Postfix) with ESMTP id B9DF58FC0A for ; Sun, 29 Aug 2010 07:37:31 +0000 (UTC) Received: from [212.54.34.141] (helo=smtp10.gn.mail.iss.as9143.net) by smtpq3.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1OpcSF-00022D-Oj for freebsd-questions@freebsd.org; Sun, 29 Aug 2010 09:37:27 +0200 Received: from [84.25.59.18] (helo=ra.egypt.nl) by smtp10.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1OpcSD-00032Y-VO for freebsd-questions@freebsd.org; Sun, 29 Aug 2010 09:37:26 +0200 Received: from [127.0.0.1] (xp.egypt.nl [192.168.13.35]) by ra.egypt.nl (Postfix) with ESMTP id AA6AF39856 for ; Sun, 29 Aug 2010 09:37:20 +0200 (CEST) Message-ID: <4C7A0E2C.5050705@boosten.org> Date: Sun, 29 Aug 2010 09:37:16 +0200 From: Peter Boosten User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <874453.45134.qm@web52302.mail.re2.yahoo.com> <20100826215346.7aaba141.freebsd@edvax.de> <20100828170745.GA88025@guilt.hydra> <20100828203618.45fd6be8.freebsd@edvax.de> <4c7994cd.zZBjSuPFSUYKdCmf%perryh@pluto.rain.com> In-Reply-To: <4c7994cd.zZBjSuPFSUYKdCmf%perryh@pluto.rain.com> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1OpcSD-00032Y-VO X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=0.577, vereist 5, BAYES_50 0.00, CM_META_TB_NOARR 0.50, SPF_PASS -0.00, TW_ZC 0.08) X-ZiggoSMTP-MailScanner-From: peter@boosten.org X-Spam-Status: No Subject: Re: ports database X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2010 07:37:32 -0000 On 29-8-2010 0:59, perryh@pluto.rain.com wrote: > Polytropon wrote: > >>> tar -cf ports.tar /usr/port >> >> It should be, better suited: >> >> # cd /usr >> # tar cf ports.tar ports >> >> So one could do "tar xf ports.tar" in the target machine's /usr >> ... > > Better put the created tarfile somewhere other than in the directory > that is being tarred :) That's the case in the above example... > and it might as well be compressed, something like: > > # cd /usr > # tar cf - ports | gzip > /var/tmp/ports.tgz how about: tar zcf ports.tar.gz ports ;-) Peter -- http://www.boosten.org