Deutsch   English   Français   Italiano  
<vurc2o$2iijr$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: vallor <vallor@cultnix.org>
Newsgroups: comp.os.linux.advocacy
Subject: Re: What Is Your Fave File Detox?
Date: 1 May 2025 09:13:52 GMT
Lines: 47
Message-ID: <m7gsagF5tqnU1@mid.individual.net>
References: <pan$59861$2555e10d$789c5222$d0617fec@linux.rocks>
	<vurvh2$34dtj$1@dont-email.me> <vuvb3j$28v7l$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net mKjTXuNNXqrMjAEqoe/fRgpVGjGNmnloXXwM1UDcvkpP2B5ZUy
Cancel-Lock: sha1:ENfafsEiXl23vZQxZj3Eov+6Z3c= sha256:YqDpaqHLLJDenu+S/vZG8Xz8o6wLHL0v5bBlDQMxljM=
X-Face: +McU)#<-H?9lTb(Th!zR`EpVrp<0)1p5CmPu.kOscy8LRp_\u`:tW;dxPo./(fCl
 CaKku`)]}.V/"6rISCIDP`
User-Agent: Pan/0.162 (Hmm4; 7b109588; Linux-6.14.4)
Bytes: 2420

On Thu, 1 May 2025 08:24:19 -0000 (UTC), Lawrence D'Oliveiro
<ldo@nz.invalid> wrote in <vuvb3j$28v7l$2@dont-email.me>:

> On Wed, 30 Apr 2025 09:48:14 +0800, Woozy Song wrote:
> 
>> Generally, I want to only remove spaces, but keep foreign letters (from
>> German/Icelandic whatever).
> 
> I take full advantage of the fact that *nix systems allow filenames that
> are not legal on Dimdows.
> 
>> What annoys me is that rename command works differently in Debian to
>> other distros.
> 
> What rename command?

There's one that comes with perl.

I prefer "mmv" for mass renaming:

MMV(1)                   User Commands                   MMV(1)

NAME
       mmv - move/copy/link multiple files by wildcard patterns

SYNOPSIS
       mmv   [-m|-x|-r|-c|-o|-a|-l|-s]   [-h]  [-d|-p]  [-g|-t]
       [-v|-n] FROM TO

DESCRIPTION
       move/copy/link multiple files by wildcard patterns

       The FROM pattern is a shell glob pattern, in  which  `*'
       stands for any number of characters and `?' stands for a
       single character.

       Use  #[l|u]N in the TO pattern to get the string matched
       by the  Nth  FROM  pattern  wildcard  [lowercased|upper‐
       cased].

       Patterns should be quoted on the command line.
[...]

-- 
-v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090 Ti
   OS: Linux 6.14.4 Release: Mint 22.1 Mem: 258G
   "A cat is an animal who never cries over spilled milk."