Sujet : Re: What Is Your Fave File Detox?
De : vallor (at) *nospam* cultnix.org (vallor)
Groupes : comp.os.linux.advocacyDate : 01. May 2025, 10:13:52
Autres entêtes
Message-ID : <m7gsagF5tqnU1@mid.individual.net>
References : 1 2 3
User-Agent : Pan/0.162 (Hmm4; 7b109588; Linux-6.14.4)
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."