[new port] usage of shar command
Chip Camden
sterling at camdensoftware.com
Sun Jul 18 16:23:49 UTC 2010
Quoth Anonymous on Sunday, 18 July 2010:
> Johan van Selst <johans at stack.nl> writes:
>
> > Joe wrote:
> >> I can not figure out just what the author was trying to say with
> >> "output of shar `find port_dir`"
> >
> > If your port files are stored in the subdirectory 'newport' then
> > you may issue the command
> > shar `find newport` > file.shar
>
> Another way is to use libarchive(3) writer, e.g.
>
> $ tar cf file.shar --format shar newport
>
> It's less prone to trip on special symbols in filenames and doesn't have
> limit on number of files (i.e. ARG_MAX).
>
This should be in the handbook -- good tip!
--
Sterling (Chip) Camden | sterling at camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com | http://chipsquips.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20100718/33bc80e2/attachment.pgp
More information about the freebsd-ports
mailing list