From owner-freebsd-questions@FreeBSD.ORG Sat Aug 9 05:03:47 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE90737B401 for ; Sat, 9 Aug 2003 05:03:47 -0700 (PDT) Received: from smtp1.cistron.nl (smtp1.cistron.nl [62.216.30.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5128743FA3 for ; Sat, 9 Aug 2003 05:03:47 -0700 (PDT) (envelope-from basics@zenzee.cistron.nl) Received: from cust.94.12.adsl.cistron.nl ([195.64.94.12] helo=192.168.1.4) by smtp1.cistron.nl with esmtp (Exim 3.35 #1 (Debian)) id 19lSSu-0005T3-00 for ; Sat, 09 Aug 2003 14:04:57 +0200 Date: Sat, 9 Aug 2003 14:04:46 +0200 From: Vincent Zee To: FreeBSD Questions Message-ID: <20030809140446172121.GyazMail.basics@zenzee.cistron.nl> Mime-Version: 1.0 (GMessage framework 0.9.9.9.4) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: GyazMail version 0.9.9.9.4 Subject: converting %20 to a space in directory names X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2003 12:03:48 -0000 Hi, I have 5000 directory names with %20 in its names and would like to replace them with 1 space. I only want to change the directory names and leave its contents untouched. Also I need to do this recursively (directories in directories). I checked google but the answers I found were for files in directories. Tia /\ Vincent