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 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: References: 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 wrote in : > 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."