blind general discussion
> Date: Thu, 5 Oct 2023 12:08:42 +0200 (SAST)
> Subject: Re: Detox or other similar tools
>
>> You could use rename with a regexp.
>> e.g.
>> rename s'/blablabla//'g *_bla*txt
>> will remove blablabla from all *_bla*txt files.
>>
Oh thanks. That should work.
- Original Message -
From: Linux for blind general discussion
To: Linux for blind general discussion
Date: Thu, 5 Oct 2023 12:08:42 +0200 (SAST)
Subject: Re: Detox or other similar tools
> You could use rename with a regexp.
> e.g.
> rename s'/blab
You could use rename with a regexp.
e.g.
rename s'/blablabla//'g *_bla*txt
will remove blablabla from all *_bla*txt files.
Willem
On Thu, 5 Oct 2023, Linux for blind general discussion wrote:
I want to strip a directory of file names of certain characters, like these.
: ? ?
Detox will do
I want to strip a directory of file names of certain characters, like these.
: ? ?
Detox will do that, but it removes spaces, commas and a bunch of other stuff. I
just want to have a list of characters removed, not all punctuation. Is there a
tool that will do this for me?
Thanks.