Re: remove double quote character from file names

From: Michael Schuster <michaelsprivate_at_gmail.com>
Date: Sat, 11 Feb 2023 15:23:31 UTC
On Sat, Feb 11, 2023, 15:59 Per olof Ljungmark <peo@nethead.se> wrote:

> Hi all,
>
> A little help on the way, I need to find and remove the double quote (")
> character from all files in a directory structure containing hundreds of
> thousands of files.
>
> I am sure plenty of you have done this before... I've gotten as far as
>
> find . -type f -name '*"*' -exec rename 's|"|in|g' {} \;
> find: rename: No such file or directory
>
> The find part works but not renaming so I'm missing something there.
>

The usual utility to rename a file is "mv" (no quotes :-))

Does that help?

>
> Thanks,
> Per
>
>
>