Deutsch English Français Italiano |
<t6eeps$bt1$1@cabale.usenet-fr.net> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!usenet-fr.net!.POSTED!not-for-mail From: Olivier Miakinen <om+news@miakinen.net> Newsgroups: fr.comp.os.linux.configuration Subject: Re: renommer dossiers AA BB => BB AA Date: Mon, 23 May 2022 00:51:39 +0200 Organization: There's no cabale Lines: 28 Message-ID: <t6eeps$bt1$1@cabale.usenet-fr.net> References: <628ab233$0$9143$426a74cc@news.free.fr> <t6ee0h$bpf$1@cabale.usenet-fr.net> NNTP-Posting-Host: 220.12.205.77.rev.sfr.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Trace: cabale.usenet-fr.net 1653259900 12193 77.205.12.220 (22 May 2022 22:51:40 GMT) X-Complaints-To: abuse@usenet-fr.net NNTP-Posting-Date: Sun, 22 May 2022 22:51:40 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 In-Reply-To: <t6ee0h$bpf$1@cabale.usenet-fr.net> Bytes: 1388 Le 23/05/2022 00:38, j'écrivais : > [une méthode compliquée] Il y a beaucoup plus simple : $ ls -1d * A AA 'AAA bbb' 'AAA bbb ccc' 'AA bb' 'AA bb cc' 'A b' 'A b c' $ rename 's/([^ ]*) (.*)/$2 $1/' *" "* $ ls -1d * A AA 'b A' 'bb AA' 'bbb AAA' 'bbb ccc AAA' 'bb cc AA' 'b c A' -- Olivier Miakinen