Copy directory tree as hard links...
Modulok
modulok at gmail.com
Mon Jul 13 09:14:28 UTC 2009
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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list