Re: remove double quote character from file names

From: Polytropon <freebsd_at_edvax.de>
Date: Sun, 12 Feb 2023 13:45:49 UTC
On Sat, 11 Feb 2023 13:31:49 -0500, Kurt Hackenberg wrote:
> On Sat, Feb 11, 2023 at 03:58:50PM +0100, Per olof Ljungmark wrote:
> 
> >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.
> 
> That's nasty. Be careful, keep backups.
> 
> I might use a full-on programming language -- maybe Python or Ruby -- 
> to avoid the difficulties of shell parsing and quoting. However, if you 
> want to do it through a shell, this might be helpful:
> 
> <https://dwheeler.com/essays/filenames-in-shell.html>

And just in case other special characters appear:

Fixing Unix/Linux/POSIX Filenames:
Control Characters (such as Newline), Leading Dashes, and Other Problems
by David A. Wheeler
2018-06-24 (originally 2009-03-24)

https://dwheeler.com/essays/fixing-unix-linux-filenames.html


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...