From owner-freebsd-questions@FreeBSD.ORG Mon Jul 13 09:14:28 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 2142B1065672 for ; Mon, 13 Jul 2009 09:14:28 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id A530F8FC18 for ; Mon, 13 Jul 2009 09:14:27 +0000 (UTC) (envelope-from modulok@gmail.com) Received: by ewy7 with SMTP id 7so54064ewy.43 for ; Mon, 13 Jul 2009 02:14:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=sOx6SdJEEs75gkawK1HNh8T3ujnaDFI911QWD9eDUxc=; b=Z6D3qb1b1K1LhJ5iefh9q0TbxQXnS2PL4l3lJiZmEJPyJuKAyEOTtt2kDe1iEj+TOW wukGZuvt+d8k1UcnACpec/pg9bIPIRpplIEAt650czjWuS4fm6b6cjxt9Zma7ixRyS1v sSFnILwz3Tzb55Ex9AGZ7SLWVSuQA1B2r+J0k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=mTYlaz+c1Wh8stA1+CFk8f9ce3QD2b7U2rtblR0ZyPyohgOlN6cIYIg5S6wjkCwkov Q4n1WuBcFSghZAa6WcC8CSnVYjzvDAqfYtmHSUlRmbn0LXWvMHje34XXFhUMHqF443Yu aLUxQSU0yWbFZBWeoL3DJRQC3Xc8OtkoNeDA4= MIME-Version: 1.0 Received: by 10.211.166.2 with SMTP id t2mr4519992ebo.26.1247476466365; Mon, 13 Jul 2009 02:14:26 -0700 (PDT) In-Reply-To: References: <64c038660907130002i73a95d9bq9224373b5ff89f08@mail.gmail.com> Date: Mon, 13 Jul 2009 03:14:26 -0600 Message-ID: <64c038660907130214v6838c0dbs6892160e3a402a30@mail.gmail.com> From: Modulok To: Ivan Voras Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org 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 09:14:28 -0000 Ivan, Evidently that was introduced in 6.2-RELEASE: "The cp(1) utility now supports a -l option, which causes it to create hardlinks to the source files instead of copying them." Thanks for posting and subsequently drawing my attention to it. Time to upgrade I suppose :) -Modulok- On 7/13/09, Ivan Voras wrote: > 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. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >