From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-204905-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AA8D3158042 for <garchives@archives.gentoo.org>; Tue, 29 Oct 2024 18:05:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0CAE6E0844; Tue, 29 Oct 2024 18:05:25 +0000 (UTC) Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B56F2E081E for <gentoo-user@lists.gentoo.org>; Tue, 29 Oct 2024 18:05:24 +0000 (UTC) Received: by mail-yb1-xb2c.google.com with SMTP id 3f1490d57ef6-e2bdbdee559so5893174276.1 for <gentoo-user@lists.gentoo.org>; Tue, 29 Oct 2024 11:05:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730225124; x=1730829924; darn=lists.gentoo.org; h=in-reply-to:mime-version:user-agent:date:message-id:autocrypt:from :references:to:subject:from:to:cc:subject:date:message-id:reply-to; bh=KB0RENbwLarr0wPhV+gPUUJe7eC+ntNt+n8CT7096qw=; b=LLNYngNluDtQ2GSuvseboB/BMDaBHEffBW3bizFMtcBzeJvVm4CuIZcb5/FrJsJkA5 Hy1T8gIPXZpjwys14fnxnAJOa0VStJvcAFVog27NHg/5mghRuAjFpqmknSn56ZxSvqDl KY6893jq5dGdVBD3rmpqVqR3YRWzjpK6YbJOKtdYzPGHhfdNDXx64qhfmkuXBvO5kbPb HBowwBCzim8lFNVuhbPdaLWjn4W4I91ZHEe6y7JquW8ig0EDixkVhRlhuPF0uFMzbNDO birXOYfDk9PcNjPYZ8oEl9XlFJqnwFLLq5+s1X7AYU9duEOaao51f/k819OL6zzfOsPl W5Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730225124; x=1730829924; h=in-reply-to:mime-version:user-agent:date:message-id:autocrypt:from :references:to:subject:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=KB0RENbwLarr0wPhV+gPUUJe7eC+ntNt+n8CT7096qw=; b=dXAJc00rXbMP9U2fSftJsG8BjeUfF6NS/a9lYMQeEvGtsedWjrhqXT/NapyUN0KRC8 0CTI6k003RgNHwZ99LBW5zuVarVSUc6NsDcndwLBsBrpCZfqE08eJsIJlUmqIppyJR43 M7355XrGajxuxi1Ciu8jjDtB2cPDtJiB8yC8DgERL6jkY98gLZUKBv0DFJMIfBFOTZKh cNxVbK0v3H7X6Cpeh7zMrpOojGJuKyyd0C/Cndfd2/dI2lJDfq7BteADEwLXT49VXOhl nNg0Ku5qmcFumsaW60fNNSp1RqJlFRk0QnPC8PVHt4W3ShzXNcsspHwwXPQgY/bi0nld N+hw== X-Gm-Message-State: AOJu0YynLInQPsU+86le47rWKADM8QaFt/ih1+556WMhsafLITMI5cef kFVaVqUP5EgPCByBrI+915eaYMe6lfdOgJGwIGmiE3VQVBATsQ/TxW6WXA== X-Google-Smtp-Source: AGHT+IHZhNR2spIy8k7HHWfM2kEUL+qqwq1xE2SI37ZFuuEBum4A7ezuw8OAlSjWcAxPwCxRrEo9lA== X-Received: by 2002:a05:690c:d8e:b0:6ea:24e2:4408 with SMTP id 00721157ae682-6ea24e2565bmr40724777b3.2.1730225123785; Tue, 29 Oct 2024 11:05:23 -0700 (PDT) Received: from [10.8.8.6] ([92.119.19.67]) by smtp.gmail.com with ESMTPSA id 00721157ae682-6e9c6c77305sm20691737b3.90.2024.10.29.11.05.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 29 Oct 2024 11:05:23 -0700 (PDT) Subject: Re: [gentoo-user] Renaming files with those pesky picture type characters. To: gentoo-user@lists.gentoo.org References: <32f571c7-de3f-53da-185a-9cdfa0797a93@gmail.com> <4973073.31r3eYUQgx@rogueboard> <2d8f86e2-923a-cc81-e56d-63135b379737@gmail.com> <2973073.e9J7NaK4W3@rogueboard> From: Dale <rdalek1967@gmail.com> Autocrypt: addr=rdalek1967@gmail.com; prefer-encrypt=mutual; keydata= mQINBGFSciYBEADcEGMyJBSuavKO/XKUVvgkxck7Nl8Iuu8N2lcnRji/rSKg5c1Acix1ll9i oW8JBCHwvn0+Xy60BvEsqcup3YSHw5STl/bR1ePEehtnYrg8FdjdS91+B805RfnKMm69rFVI wLSBHQrSG1yxHd8CloWoEdhmVtP24buajbh114bgXd9ahtpZrCVMrWdWYUg2mEXguGV5uNAh Rf8SWxDNc79w24JxsV34a8niMUYMjzWr0rafIbzk732X38vGjVMLo/2mMpkbp9mPp++LHoY+ 0Pet8zxxdXPJSCd475kza1AD+hhSyBZXB9yknYWgyY3cZe1rGmooJSi2KX4QxO7npwLThcO1 be6KKRkd35+Fi/a1BzVOHsZMiK/gcwxEFoMd27gir4ehaeHJfFXl+65w4hj0EsOZSxrJrm2C R50g5By2czSKP1bADEygFNpIJj51AR+wM88NImG2RPtlT2maYBzazvF05g65cdHXGp1C7W5P wwwKU2DgABB2t7N7z5A69LnryBRw4zUYDRRYLTYlBlYgg+xILm2c0OrBdxJgLJa7JE50Eo25 d3PFwt9J0gYvqy6sPFLl9So0sDg9zm0hKQtXOP5kgropUFGrNoJI+mjwF4rYLRBVzZwNAvlO OhEvHubBo3mEllv4x+FeptwXZxlk7gUsdqI8AxnFB8K9wi6FVQARAQABtBtEYWxlIDxyZGFs ZWsxOTY3QGdtYWlsLmNvbT6JAk4EEwEIADgCGyMFCwkIBwIG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owsszefn51MwfjXxB20Fc5k3GU1AVpTCMs3ayYCzo0b2pvEvdjtDcA CYLEFPWgaFX9iQAM/CDfKvTtvgGWpqtCL2raq/mQoJEU Message-ID: <0c892dd0-a1d1-4372-ad62-a64cd751e270@gmail.com> Date: Tue, 29 Oct 2024 13:05:21 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.19 Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <2973073.e9J7NaK4W3@rogueboard> Content-Type: multipart/alternative; boundary="------------9DF9B47498459033E380D31C" X-Archives-Salt: 022c56f5-f73d-4016-9ebf-901c89272268 X-Archives-Hash: 91a5f1b2ce56bcea4d54705ade77af8b This is a multi-part message in MIME format. --------------9DF9B47498459033E380D31C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Michael wrote: > On Tuesday 29 October 2024 16:18:21 GMT Dale wrote: >> Michael wrote: >>> In a terminal running bash you can try: >>> >>> mv ./-ne.avi newname.avi >>> >>> or use a double dash to indicate end of options for the preceding command: >>> >>> mv -- -ne.avi newname.avi >>> >>> For a GUI-fied application, you can use 'kde-misc/krename'. >> Now that is awesome. The first one works great. Haven't had the need >> to try others yet but figure they would work too. Finally, I can rename >> these files with weird characters. I never knew a -- meant end of >> options before. Been using Linux for a couple decades and never saw >> that info. > I've seen it in the man pages of revdep-rebuild, perl-cleaner, et al. and have > been using it for a long time. For example with revdep-rebuild I use it to > pass additional options to the emerge command, which is called from within > revdep-rebuild: > > revdep-rebuild -v -- -a > > This gives me a list and waits for my acknowledgement before it starts re- > emerging any packages. > I saw that but never understood what it did. I thought it was something that worked just with revdep-rebuild or something. So it is a bash thing. Interesting. That could open a can of worms. By the way, for giggles, I had a directory with several files with those weird characters so I tried Krename. I highlighted the files, opened with Krename, no files detected. For some reason, likely the same as Frank's checksum tool, it can't process those files with weird characters. Could be a bug or just no way around it. I'm not sure Frank has found a workaround for his script yet either. I did add your command line methods to my cheat sheet tho. Now if only I can remember what I added them as so I can find it later. o_O Dale :-) :-) --------------9DF9B47498459033E380D31C Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">Michael wrote:<br> </div> <blockquote type="cite" cite="mid:2973073.e9J7NaK4W3@rogueboard"> <div class="moz-text-plain" wrap="true" graphical-quote="true" style="font-family: -moz-fixed; font-size: 16px;" lang="x-unicode"> <pre class="moz-quote-pre" wrap="">On Tuesday 29 October 2024 16:18:21 GMT Dale wrote: </pre> <blockquote type="cite" style="color: #000000;"> <pre class="moz-quote-pre" wrap="">Michael wrote: </pre> </blockquote> <blockquote type="cite" style="color: #000000;"> <blockquote type="cite" style="color: #000000;"> <pre class="moz-quote-pre" wrap="">In a terminal running bash you can try: mv ./-ne.avi newname.avi or use a double dash to indicate end of options for the preceding command: mv -- -ne.avi newname.avi For a GUI-fied application, you can use 'kde-misc/krename'. </pre> </blockquote> <pre class="moz-quote-pre" wrap="">Now that is awesome. The first one works great. Haven't had the need to try others yet but figure they would work too. Finally, I can rename these files with weird characters. I never knew a -- meant end of options before. Been using Linux for a couple decades and never saw that info. </pre> </blockquote> <pre class="moz-quote-pre" wrap="">I've seen it in the man pages of revdep-rebuild, perl-cleaner, et al. and have been using it for a long time. For example with revdep-rebuild I use it to pass additional options to the emerge command, which is called from within revdep-rebuild: revdep-rebuild -v -- -a This gives me a list and waits for my acknowledgement before it starts re- emerging any packages. </pre> </div> </blockquote> <br> <br> I saw that but never understood what it did. I thought it was something that worked just with revdep-rebuild or something. So it is a bash thing. Interesting. That could open a can of worms. <br> <br> By the way, for giggles, I had a directory with several files with those weird characters so I tried Krename. I highlighted the files, opened with Krename, no files detected. For some reason, likely the same as Frank's checksum tool, it can't process those files with weird characters. Could be a bug or just no way around it. I'm not sure Frank has found a workaround for his script yet either. <br> <br> I did add your command line methods to my cheat sheet tho. Now if only I can remember what I added them as so I can find it later. o_O <br> <br> Dale <br> <br> :-) :-) <br> </body> </html> --------------9DF9B47498459033E380D31C--