On Fri, 14 Mar 2008 00:02:42 +0300 Dmitry Marakasov <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"