Date: Sun, 9 Jan 2005 17:03:53 -0500 From: Parv <parv@pair.com> To: Christer Solskogen <solskogen@carebears.mine.nu>, freebsd-questions@freebsd.org Subject: Re: Create tgz packages Message-ID: <20050109220353.GB275@holestein.holy.cow> In-Reply-To: <20050109194634.GA275@holestein.holy.cow> References: <20050106142257.GA30323@math.jussieu.fr> <41DD8242.8090207@scii.nl> <pan.2005.01.09.15.57.31.78757@carebears.mine.nu> <20050109194634.GA275@holestein.holy.cow>
next in thread | previous in thread | raw e-mail | index | archive | help
in message <20050109194634.GA275@holestein.holy.cow>, wrote Parv thusly... > > in message <pan.2005.01.09.15.57.31.78757@carebears.mine.nu>, > wrote Christer Solskogen thusly... > > > > Is there a easy way of making packages of all installed ports? > > assuming sh ... > > for port in $( find /var/db/pkg -mindepth 1 -type d ) > do > echo pkg_create -b $(basename "$port") ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ Oops, forgot to undo the echo after testing; please remove it when one is ready to create the packages. > done Below is another way ... find /var/db/pkg -mindepth 1 -type d \ | while read port do pkg_create -b $(basename "$port") done - Parv --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050109220353.GB275>