Date: Sat, 30 Nov 2024 20:22:16 +0100 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org> To: Per olof Ljungmark <peo@nethead.se> Cc: FreeBSD questions <freebsd-questions@freebsd.org> Subject: Re: shell script for removing unprintable characters in file names Message-ID: <86r06s1q8n.fsf@ltc.des.dev> In-Reply-To: <95966dac-9d93-401f-9948-5fcb224a1e1f@nethead.se> (Per olof Ljungmark's message of "Sat, 30 Nov 2024 16:33:39 %2B0100") References: <95966dac-9d93-401f-9948-5fcb224a1e1f@nethead.se>
next in thread | previous in thread | raw e-mail | index | archive | help
Per olof Ljungmark <peo@nethead.se> writes: > I am tasked with recovering hundreds or more files created with > unknown OSs and have unknown characters in the name, replaced with a > '?'. > > Like file?nam?.??? > > Please, if you have such a script can you post or email it? Replacing > the unknown character with anything, like '-' or '_' using whatever > shell, sh, bash or csh. Look for convtools on github. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86r06s1q8n.fsf>