From owner-freebsd-questions Mon Nov 26 21:33:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp6.mindspring.com (smtp6.mindspring.com [207.69.200.110]) by hub.freebsd.org (Postfix) with ESMTP id 7AFF137B417 for ; Mon, 26 Nov 2001 21:33:44 -0800 (PST) Received: from smui04.slb.mindspring.net ([199.174.114.26]) by smtp6.mindspring.com with esmtp (Exim 3.33 #1) id 168Tor-0007Ia-04 for freebsd-questions@freebsd.org; Mon, 26 Nov 2001 17:01:41 -0500 Received: by smui04.slb.mindspring.net id PAA0000017115; Mon, 26 Nov 2001 15:54:19 -0500 (EST) Date: Mon, 26 Nov 2001 15:54:19 -0500 From: To: freebsd-questions@freebsd.org Subject: Mass Renaming of Files Message-ID: X-Originating-IP: 63.228.157.5 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I did ask this question another place and was basically told that this was a somewhat hard to accomplish (and possibly dangerous) process when doing mass renaming of files and folders. Thought I would ask here, though, to see if any of you had any experience in this type of thing and found a simpler solution. I am trying to parse directories and files into lists, but I am running into a lot of issues because there are spaces in directory names and file names. Do any of you know of a script that could be written or possibly existst that would search for and replace spaces with underscores? I would need to do this across about 300 directories with about 30gigs worth of files (no idea of actual number of files). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message