From nobody Sat Nov 30 19:42:44 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y10ns552zz5fYPy for ; Sat, 30 Nov 2024 19:42:57 +0000 (UTC) (envelope-from gaberalasmy@gmail.com) Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y10ns3F1Pz4N4x; Sat, 30 Nov 2024 19:42:57 +0000 (UTC) (envelope-from gaberalasmy@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-x832.google.com with SMTP id d75a77b69052e-466a0ac9211so26845081cf.0; Sat, 30 Nov 2024 11:42:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732995776; x=1733600576; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=1hGEhUifzDxm5IGspzEjlRxqYa9dih9PYev/hEKQhK4=; b=TJCpJOEGWoX5iQa3FBeEJEwy93qREfxU49S6ZGDMFI2qH9MshqcByzyxe1025uua/u sYn6X0yyTXJcAXj5GixzpNpt9I9HeOfnaYXGnMN2/0WsH9bm6WWM1EmC/qRYDFDjvV8a Eqxi79Wuyed8rutyROrHYuhCHVZSDbskS/U579CRtv3+0w1a8G6CBXWaHKz0DvaSkKyW /6NqQ9mpcZ/NOaHx6xVi9A1z9wu9VgTJmrHkSdIKXhpywn7T4J11HDyf9cSywb+/shad LIEieNArO0IEVohX+JiaCFUYE2MtnyIJTNZrlDkmXOCJv6JF6nCLLDIJXfnltCWMQNf/ b/Og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732995776; x=1733600576; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1hGEhUifzDxm5IGspzEjlRxqYa9dih9PYev/hEKQhK4=; b=f1eabnCg5gGTqHYo7/jx6nkvrNSRi0HvEm/EA07UE6vYT91nG3tX6NrGvXSyVIdWBr BCylgi5ZmDOJZagmQ0wfbbhr/8VrYHgax2F5/qxUxvRS2+2+CMtT0H3Z6E4YEi1qM/Gv YtjmZvBhNjqe1jlEUsIXHARsOhC8pT+DswHcefwyjEWVza3f+NG84rPWQPgGQOyA6qh5 YTPXCW1W7kW6zmAn7eR8YoLkg7SBJousBmQ4JnP+atxSzNepUZum3Te39GJaBcfA+lKY HeK0A++ER1HQlgII/Wwe644lYz8tmD/JFUZvfNt3nWm69yu1k/R0wysRqVw56Gljq611 ookQ== X-Forwarded-Encrypted: i=1; AJvYcCUifNIhr3pThlanotwzHOEVKmlElqJbg09UQ1Gtwh8r7wp2vY4w0I9FElv34mrH1FR1LucL6su7BdKFYLvsJKfhBw==@freebsd.org X-Gm-Message-State: AOJu0YyXlLpb0fo8+1YHat/3dCrRvpc31NwXw0FW4P74PQ9xcmml0xua +Af39QXB5cq+urs/IuNIFrUpYrS7AULLrAHuJKbyPW79QZqbA6MCR2mjg7+1WgcO6C3/GCm73ZJ pmzd5ZACR7fO7EIzo8P1UySjUj3juCQ== X-Gm-Gg: ASbGnctJevjwpnu2E6ZR/FwSLzm7Ab4t805amXAtn9glzQAe9ODpFn8a9jWpu6p79N8 yTJeHUsomrMltNo5VADXMVuAhE/2UhvXd X-Google-Smtp-Source: AGHT+IFyZk58jM9mGVus1DHyM105xB+/GwUR37iabBLrq2u0CRjgkqMhtPDnybgy0lWdDxoBI/g1rXRbOsz39B0WwCY= X-Received: by 2002:ac8:580d:0:b0:464:888f:adf5 with SMTP id d75a77b69052e-466b36596b2mr217427251cf.45.1732995775857; Sat, 30 Nov 2024 11:42:55 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 References: <95966dac-9d93-401f-9948-5fcb224a1e1f@nethead.se> <86r06s1q8n.fsf@ltc.des.dev> <86mshg1pxy.fsf@ltc.des.dev> In-Reply-To: <86mshg1pxy.fsf@ltc.des.dev> From: =?UTF-8?B?2KfYqNmIINio2YbYr9ixINin2YTYudi12YrZhdmK?= Date: Sat, 30 Nov 2024 22:42:44 +0300 Message-ID: Subject: Re: shell script for removing unprintable characters in file names To: =?UTF-8?Q?Dag=2DErling_Sm=C3=B8rgrav?= Cc: Per olof Ljungmark , FreeBSD questions Content-Type: multipart/alternative; boundary="0000000000009e0b2f06282685b0" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Y10ns3F1Pz4N4x X-Spamd-Bar: ---- --0000000000009e0b2f06282685b0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Peace be upon you. (UTF-8) does not work with us in Garmin devices and this prevents us from using local language maps.. We request local language maps without (UTF-8.) Thank you =D9=81=D9=8A =D8=A7=D9=84=D8=B3=D8=A8=D8=AA=D8=8C =D9=A3=D9=A0 =D9=86=D9=88= =D9=81=D9=85=D8=A8=D8=B1 =D9=A2=D9=A0=D9=A2=D9=A4=D8=8C =D9=A1=D9=A0:=D9=A2= =D9=A9 =D9=85 Dag-Erling Sm=C3=B8rgrav =D9=83=D8=AA=D8=A8= : > Dag-Erling Sm=C3=B8rgrav writes: > > Per olof Ljungmark writes: > > > I am tasked with recovering hundreds or more files created with > > > unknown OSs and have unknown characters in the name, [...] > > Look for convtools on github. > > Sorry, I meant conv-tools: > > https://github.com/dag-erling/conv-tools > > It works best if you have an idea which 8-bit encoding was used to > create those files. > > (I used to work at a university that had NetApp filers configured for > ISO-8859-1 and staff members of all nationalities who had their > endpoints set to their native language instead of the local one; I wrote > conv-tools to assist support staff in cleaning up users' home > directories after they were migrated to newer filers configured for > UTF-8.) > > DES > -- > Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org > > --0000000000009e0b2f06282685b0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Peace be upon you. (UTF-8) does not work with us in Garmin d= evices and this prevents us from using local language maps.. We request loc= al language maps without (UTF-8.) Thank you


=D9=81= =D9=8A =D8=A7=D9=84=D8=B3=D8=A8=D8=AA=D8=8C =D9=A3=D9=A0 =D9=86=D9=88=D9=81= =D9=85=D8=A8=D8=B1 =D9=A2=D9=A0=D9=A2=D9=A4=D8=8C =D9=A1=D9=A0:=D9=A2=D9=A9= =D9=85 Dag-Erling Sm=C3=B8rgrav <des= @freebsd.org> =D9=83=D8=AA=D8=A8:
Dag-Erling Sm=C3=B8rgrav <des@FreeBSD.org> writes:
> 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, [...]
> Look for convtools on github.

Sorry, I meant conv-tools:

=C2=A0 =C2=A0 https://github.com/dag-erling/conv-= tools

It works best if you have an idea which 8-bit encoding was used to
create those files.

(I used to work at a university that had NetApp filers configured for
ISO-8859-1 and staff members of all nationalities who had their
endpoints set to their native language instead of the local one; I wrote conv-tools to assist support staff in cleaning up users' home
directories after they were migrated to newer filers configured for
UTF-8.)

DES
--
Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org

--0000000000009e0b2f06282685b0--