Date: Sat, 11 Feb 2023 15:58:50 +0100 From: Per olof Ljungmark <peo@nethead.se> To: freebsd-questions@freebsd.org Subject: remove double quote character from file names Message-ID: <d83c93ad-0eac-d41a-c7db-79a1e1bc62d8@nethead.se>
next in thread | raw e-mail | index | archive | help
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.
Thanks,
Per
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d83c93ad-0eac-d41a-c7db-79a1e1bc62d8>
