Date: Thu, 13 Mar 2008 18:28:27 -0400 From: Mike Meyer <mwm-keyword-freebsdhackers2.e313df@mired.org> To: freebsd-hackers@freebsd.org Subject: Re: Transferring ports Message-ID: <20080313182827.530d91d4@bhuda.mired.org> In-Reply-To: <20080313210242.GA55395@hades.panopticon> References: <frb0ku$a2n$1@ger.gmane.org> <20080313210242.GA55395@hades.panopticon>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 14 Mar 2008 00:02:42 +0300 Dmitry Marakasov <amdmi3@amdmi3.ru> wrote: > Actually, I've already had an idea of utility with pretty similar > functionality for a long time. The utility would copy directory > hierarchies recursively based on file include/exclude list, like this: You mean like rsync? > +/{etc,bin,sbin,lib} > +/usr > -/usr/local > +/usr/local/{bin,sbin,libexec,share,lib} > -/usr/share/locale > +/usr/share/locale/ru_RU* > > so `my_cool_copy_utility / /path/to/jail` will copy /etc,/bin,/sbin,/lib > and /usr dirs to jail, but in /usr/share/locale will only copy > russian locales, but no others, and in usr/local it won't copy > man, include and other dirs not needed in a jail. Yeah, rsync can do that. The syntax is a little (or maybe a lot) different, though. > Such an utility is something I still might start working on. If you've already checked out rsync and found it wanting, my apologies for wasting your time. If not, it's probably worth a look. <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080313182827.530d91d4>