[new port] usage of shar command

Anonymous swell.k at gmail.com
Wed Jul 21 13:45:42 UTC 2010


Sean <sean at gothic.net.au> writes:

>>> The text as its currently exists is a long way from being clear to a
>>> first timer. And I am talking about the new change that just went in.
>>> 
>>> "shar `find port_dir` (note the backticks)",
>>> 
>>> or
>>> 
>>> "shar $(find port_dir)"
>> 
>> This one doesn't work in (t)csh, the backticks do.
>> 
>>> both address the problem nicely.
>>> 
>>> By all means go and make the correction.
>> 
>> Object!
>> 
>
> find port_dir -print0 | xargs -0 -x shar
>
> Though it doesn't help when you've got too many files. Then you're probably better off with the tar command to generate shar files.

BTW, do we still have *supported* release where tar(1) can't create shar archives?


More information about the freebsd-ports mailing list