Re: Copy directory tree as hard links...

2009-07-13 Thread Modulok
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,

Re: Copy directory tree as hard links...

2009-07-13 Thread Ivan Voras
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: -lCreate hard links to regular files in a hierarchy instead of copy- ing. ___

Re: Copy directory tree as hard links...

2009-07-13 Thread Mel Flynn
On Monday 13 July 2009 00:17:14 Matthew Seaman 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 > > cp(1) manual page says to use pax or tar, but how do I get the ability > > to re

Re: Copy directory tree as hard links...

2009-07-13 Thread Matthew Seaman
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 cp(1) manual page says to use pax or tar, but how do I get the ability to rename the file without first creating a destination file? I don't want an

Copy directory tree as hard links...

2009-07-13 Thread Modulok
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 cp(1) manual page says to use pax or tar, but how do I get the ability to rename the file without first creating a destination file? I don't want an archive, just reg