Date: Mon, 13 Jul 2009 03:14:26 -0600 From: Modulok <modulok@gmail.com> To: Ivan Voras <ivoras@freebsd.org> Cc: freebsd-questions@freebsd.org Subject: Re: Copy directory tree as hard links... Message-ID: <64c038660907130214v6838c0dbs6892160e3a402a30@mail.gmail.com> In-Reply-To: <h3et0v$kfb$1@ger.gmane.org> References: <64c038660907130002i73a95d9bq9224373b5ff89f08@mail.gmail.com> <h3et0v$kfb$1@ger.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <ivoras@freebsd.org> 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64c038660907130214v6838c0dbs6892160e3a402a30>