How to get rid of bad chrs?
Bret Busby
bret.busby at gmail.com
Mon Aug 2 16:34:34 UTC 2021
On 02/08/2021, Little Girl <littlergirl at gmail.com> wrote:
> Hey there,
>
> rikona wrote:
>>Little Girl wrote:
>
>>> This command replaces all instances of lower-case a with
>>> lower-case b in the name of every file and sub-folder in the
>>> current directory, but
>
>>Just installed rename and may try this.
>
> Sorry about that. I've been using it for so long that I had forgotten
> whether it was a default program or one that had to be added on.
>
>> man page is rather brief, may need to check other docs to understand
>> it better.
>
> Yeah, and Stack Exchange has a lot of examples of it in use, too.
>
>>> doesn't affect the contents of any sub-folders:
>
>>So it is not recursive?
>
> That particular example isn't.
>
>> I didn't see a flag to do that.
>
> Me neither. It would have been nice if they had built that ability
> into the command.
>
Hello.
Whilst I am surprised that the rename command appears to not have a -r
switch, to perform recursively, you might be interested in the
following.
In searching (using the duck duck go search engine from Seamonkey)
using the search terms
linux rename files recursively
I found the following result, which you might find useful, assuming
that Ubuntu Linux has all of the involved functionalities.
https://lovethepenguin.com/linux-how-to-recursively-rename-files-f7277e05aea7?gi=e3aa7def02e1
I hope that this is helpful.
--
Bret Busby
Armadale
West Australia
(UTC+0800)
..............
More information about the ubuntu-users
mailing list