Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jul 2010 09:23:44 -0700
From:      Chip Camden <sterling@camdensoftware.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: [new port] usage of shar command
Message-ID:  <20100718162344.GA71342@libertas.local.camdensoftware.com>
In-Reply-To: <864ofxavhz.fsf@gmail.com>
References:  <4C42CFDA.3040409@comclark.com> <20100718100744.GA4807@mud.stack.nl> <864ofxavhz.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--n8g4imXOkfNTN/H1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Quoth Anonymous on Sunday, 18 July 2010:
> Johan van Selst <johans@stack.nl> writes:
>=20
> > 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
>=20
> Another way is to use libarchive(3) writer, e.g.
>=20
>   $ tar cf file.shar --format shar newport
>=20
> It's less prone to trip on special symbols in filenames and doesn't have
> limit on number of files (i.e. ARG_MAX).
>=20

This should be in the handbook -- good tip!

--=20
Sterling (Chip) Camden    | sterling@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com        | http://chipsquips=
.com

--n8g4imXOkfNTN/H1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iQEbBAEBAgAGBQJMQyqQAAoJEIpckszW26+R7OkH9A299THmPTzHFQFDJpCxkQQe
2q8xUuz3MhJbY2JYu9FbHgUm87UQle1r+OpfELOU+qsjCSfZb4tJp7Yc6iwhFBry
hjxyRe94DBShjiTU/n4ogC8aD65fb9eh16FzVxPbi8FoYiMixSyBgWk7DTq/97LY
rkQe6Mh+/3B+wvqfZpH6N14FKd6qUje6xXubjqpvK0X2PNjfwLyFHHfxHO7OtjJn
iQUrQA3m+Buz5ZlM3pWFxluHhluoDvUeBcFo2XuTUgrC6kgC8MQYZMrdO47HPUK0
RwFOX8rBfBfhe177/fO/DrfBjBHVIwfyLFqq1Ihewr3h090UVijFcYehSkWzvA==
=V+PE
-----END PGP SIGNATURE-----

--n8g4imXOkfNTN/H1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100718162344.GA71342>