From owner-freebsd-questions@FreeBSD.ORG Mon Jul 13 08:59:26 2009 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 07DA8106566C for ; Mon, 13 Jul 2009 08:59:26 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id B8DBA8FC19 for ; Mon, 13 Jul 2009 08:59:25 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MQHNa-0000dV-7x for freebsd-questions@freebsd.org; Mon, 13 Jul 2009 08:59:22 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Jul 2009 08:59:22 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Jul 2009 08:59:22 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Mon, 13 Jul 2009 10:59:12 +0200 Lines: 10 Message-ID: References: <64c038660907130002i73a95d9bq9224373b5ff89f08@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090615) In-Reply-To: <64c038660907130002i73a95d9bq9224373b5ff89f08@mail.gmail.com> Sender: news Subject: Re: Copy directory tree as hard links... 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: Mon, 13 Jul 2009 08:59:26 -0000 Modulok wrote: > What is the easiest way to copy a directory tree as hard links? > > Linux has a nice little 'cp -al' flag combo to do this. The FreeBSD It's also present in FreeBSD: -l Create hard links to regular files in a hierarchy instead of copy- ing.