From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: wael-zwaiter@gmx.com Newsgroups: gmane.emacs.help Subject: Changing file names with "--" to "-" Date: Sun, 21 Feb 2021 04:06:24 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24134"; mail-complaints-to="usenet@ciao.gmane.io" To: Help Gnu Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 21 04:06:50 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lDf58-0006Df-0x for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 21 Feb 2021 04:06:50 +0100 Original-Received: from localhost ([::1]:32774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDf56-0004oa-Vu for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 20 Feb 2021 22:06:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDf4n-0004oR-Sl for help-gnu-emacs@gnu.org; Sat, 20 Feb 2021 22:06:30 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:50609) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDf4m-00050G-5Y for help-gnu-emacs@gnu.org; Sat, 20 Feb 2021 22:06:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1613876784; bh=M8mTORCTjY4KcCBI+jGUMhPUggB0xX0GF/GmEuzrqrI=; h=X-UI-Sender-Class:From:To:Subject:Date; b=iGAI1wcqghxuz0UKD6CAH5HeZbcaCYEYy4S065SHW+CpvNsIY6P5IGH8ZuhdCcZJu 02V4rOqnhJg7Yd40mpEylI/tkwcQ/9uGPE7JICYutNAGCTjd9KOQK/3tnVt6w8I9K/ Y7taf1kd01KxLUi1z4O70gD64fcMuUki+a8i3VNQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs01.server.lan [172.19.170.58]) (via HTTP); Sun, 21 Feb 2021 04:06:24 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:8R7gtOdttwSOzdUg3TmWxrREl2zfowaKO858otlsIA+e7zRs4aOgk59quFDwOvtX5KoF8 t44RrNBeBL8yfjILYVleirWjeKJ8om03pQjdIyvfqj9e8uktUrhj5k8BGoddtxEdrrktUuKTkkwE /OnMN9/3G33VgEVYjaQQCd9IQCIBnN3BO8El6Yoxt5+o6VqEfH/5uwFGdfeAJ2Ya3xECZBVUNtIn KZg1+fV+F2t/EQ04jP4Cep4u1C5cU9Wgj5wEZX/Kry20MXIBFN7hDK8GSmZsaW8gJD2rs6EJhXx1 /w= X-UI-Out-Filterresults: notjunk:1;V03:K0:f2fB26r+9to=:2GejM4X/VX/P0/Q18qX2HV f05iB8zCuIYeYXbdAku5ky2Jg+u3LOVQlgMAzYiMI88IYZ8OY72JjKopcD6DE9Un5FRihIFl0 hFqc1bee4MiVMdve0vms6sPYa2Icawtw14G3KpoC9e/DrCbfeVw0MiSZc7kohPCrgr+1srAmr d9+ht/Nv2ArAd/i9smY9WDgPg68qNJiYk/44fCV5YTMfVlKV1tF4no4xP/vq4PvVgw9BfyWtu JGrlR0KddyogNHoPhp2bbgh09dk4pHFY49fo/hb4nm0yDSv9BYkr9heet0JZttBGLG6EFZzt3 5GeNDRNOn7UVBItTEcWnQxQIkMrXiWmPOT6hkElm+rnvu26umtjGvnMUc9GZBWmbMl01WQih2 EbvQYzKZtH+rOwpnCykdA5ULoZYzU2Nb7VzaENZPQmNw5HutMvsiAC23NDZc6D5rBTc6aLfuY uTPxOUxY7/RGK1Wwtrx/qMSsw9BYqoYyPB362kTWXE8p1KOMOuP4yET0p5T2sRYj+CsvIWRmc YqKKDHeJtcbHeWRSXJ1LPS6Dr05OsnZh6MQQbMKd/wPgCSBHka8sZpXwNGH9LqBfZ+iC0ry2U WyomxFGQEJfTA= Received-SPF: pass client-ip=212.227.15.19; envelope-from=wael-zwaiter@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:128159 Archived-At: I have a lot of files and want to change "--" to "-". Am using rename 's/--/-/g' * on the current directory. How can I recursively go through all sub directories and do the changes for files only.