From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 10918 invoked from network); 15 Mar 2000 23:27:04 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 15 Mar 2000 23:27:04 -0000 Received: from saturn.aladdin.de (saturn.aladdin.de [194.123.19.66]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id SAA10293 for ; Wed, 15 Mar 2000 18:27:03 -0500 From: cpg@aladdin.de Received: by saturn.aladdin.de(Lotus SMTP MTA v4.6.2 (693.3 8-11-1998)) id 412568A3.00817571 ; Thu, 16 Mar 2000 00:34:02 +0100 X-Lotus-FromDomain: AKS To: axp-list@redhat.com Message-ID: <412568A3.008174E1.00@saturn.aladdin.de> Date: Thu, 16 Mar 2000 00:30:47 +0100 Subject: Re: touch symbolic links Mime-Version: 1.0 Content-type: multipart/mixed; Boundary="0__=Q7C5yZyef65BIPAadJ8TpL1icI4KXECiVSnjF5aU0YPBTRafw0zwYiE4" Content-Disposition: inline --0__=Q7C5yZyef65BIPAadJ8TpL1icI4KXECiVSnjF5aU0YPBTRafw0zwYiE4 Content-type: text/plain; charset=us-ascii Content-Disposition: inline On 03/15/2000 09:17:21 PM GMT Dan Schult wrote: > >If not, I may have to resort to recreating the links... I once had the same problem. I've written a small perl script which does exactly that. Simply feed it the links you want to touch, e.g. find / /usr -xdev -type l -print | touchlinks.pl I don't know what it does (didn't dare to try), when going into proc and messing with the links there. So the explicit mount points and -xdev as the argument to find. regards, chris (See attached file: touchlinks.pl.gz) --0__=Q7C5yZyef65BIPAadJ8TpL1icI4KXECiVSnjF5aU0YPBTRafw0zwYiE4 Content-type: application/octet-stream; name="touchlinks.pl.gz" Content-Disposition: attachment; filename="touchlinks.pl.gz" Content-transfer-encoding: base64 H4sICIymKzYCA3RvdWNobGlua3MucGwAfVNhT9swEP1MfsWRWmsihYYyIUFZ0ZBgGhpCU8uXSUiV m7iNVcfObKfQTdtv39lOoRVo+RDb53fv3vPZvcO8NTqfc5k3TIuoF/XAqraoBJcrM2gwAke7n0f0 PYSZPphNPVeCF+DxMN9AyQSzXC7BVqxGLJUlaFbT1U4skYyVrMQlN1gOFvwZJl9PB0O4Ek1FgUtj qRDUciUzxNdUbroKT0wzWGhVOy5YtLbVLIMNoxpOjodnqddHJmzNDSaPYIikxIWuqWW4PD8/y4fH +fAc4aPT4ejjSdi+am2l9AiKSqMmEmju1HK0fxzZ2sO3/J7+XdJAhNBbyS2nAs8gpCBzpNnPlqOP 2GxMjlbtoKniiyh6qrhgkHyaPlzf3l+m8DsC/MgCo2Myu8B5D5bMggtIWjO/XVSqSTwmvfCBjsWH YPwX8sec5I7s4A30T+SHhJRsnREuVUZqVbKMSGc4Iy0vM7J0P+0Rhv9imU8Bgt2pEVmHoQjDXKw8 BieqWJk0OhiDcA5fyvpsvoDkEKaz2+nd/bfE10y9wkZzaSHue3QfsBVS+c4fPko8oQPJnu1Wulfh 9tZUjDWjpZvv2eu9paOeDR13iWkg9lwFYsfQyjc8Qa7b3xGJTbqZTCAuVCtKlGm7zNCvV7m7ap+U XuG9H7t3E6p0MjLY0/0/YJzbuolhAO853cLg6BL2cDjGL047P6EIWoI9RxAzrZWGAs/Uv+RAgIxb dkcEvhWdsa66aYuCGbNohdiEd4MeXo8Db5tp59u2d7cb7wkV3RVAv59nQSJzJmL4MJs5+MOP7zdJ B8qgi35BktTT/gPEB3HdxgQAAA== --0__=Q7C5yZyef65BIPAadJ8TpL1icI4KXECiVSnjF5aU0YPBTRafw0zwYiE4--