From owner-freebsd-questions@FreeBSD.ORG Thu Sep 9 20:57:49 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D45B10656E7 for ; Thu, 9 Sep 2010 20:57:49 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from cpoproxy2-pub.bluehost.com (cpoproxy2-pub.bluehost.com [67.222.39.38]) by mx1.freebsd.org (Postfix) with SMTP id 55E098FC17 for ; Thu, 9 Sep 2010 20:57:49 +0000 (UTC) Received: (qmail 8574 invoked by uid 0); 9 Sep 2010 20:57:48 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy2.bluehost.com with SMTP; 9 Sep 2010 20:57:48 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=lbnXk1BtKLCngtMgEsP4fIJJCwxqZfIMUOj5n3/DnszRdiTO7KbI4wVbyCJgB9bXCQoUGJ1Xzl9v7TIVaByjV7y+ILls9BlHblLT3tOcwKK7GIZjVRl3Zmvkau99BoSF; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OtoBn-0005Mq-4z for freebsd-questions@FreeBSD.org; Thu, 09 Sep 2010 14:57:48 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Thu, 09 Sep 2010 14:54:24 -0600 Date: Thu, 9 Sep 2010 14:54:24 -0600 From: Chad Perrin To: FreeBSD Mailing List Message-ID: <20100909205424.GA58499@guilt.hydra> Mail-Followup-To: FreeBSD Mailing List References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Cc: Subject: Re: how to recursively symlink every file in a dir X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2010 20:57:49 -0000 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 09, 2010 at 04:28:59PM -0400, Garance A Drosehn wrote: >=20 > I believe early X11-distributions had a script called "lndir" > would pretty much do exactly what you want here. And then > there was a companion command called "breakln" which would > remove the symlink and make a copy of the original file to > replace it. lndir is in ports: > pkgsearch lndir /usr/ports/devel/lndir I'm not so sure about a "breakln" being anywhere accessible, other than whatever tools you have handy. >=20 > I don't know if X11 still has these commands (I haven't > installed X11 in at least 10 years), but I have my own > versions of them. Let me know if you can't find them, and > I'll send you copies of my scripts. I'd like to see what you have, even if the OP doesn't need them. Are they of your own making, or copied from somewhere? --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkyJSYAACgkQ9mn/Pj01uKVrFwCcDJ2SIOcfMdhDk4BIfSl7cU5r G84AoIo6g6DtlCKf7o2f1O2xKmjAdRce =o+WH -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS--