From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 287E3158042 for ; Tue, 29 Oct 2024 15:47:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5E23E080E; Tue, 29 Oct 2024 15:47:43 +0000 (UTC) Received: from iguana.tulip.relay.mailchannels.net (iguana.tulip.relay.mailchannels.net [23.83.218.253]) (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 3AE2FE07D4 for ; Tue, 29 Oct 2024 15:47:42 +0000 (UTC) X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 273511A323B for ; Tue, 29 Oct 2024 15:47:42 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1730216860; a=rsa-sha256; cv=none; b=yLQ0xEHbFvvLKbdPsfPCAOzwwQawTD+vd2Q9gA4lnbgSj7Wkt0FMKd0ebR8eh8onh/84fB g7Wy8e979mgIStF1zwO/0dEAaqU/WhzSiJ9gGsh9Ms51mP37OydVLo0EKfCGcw7jAnOMo4 cQh3Ohz/97kFQ0czkjqq/DypPW3/lmhDZV4AnlIebaquX3j7mfNhFUzGhLCzvfr0KNkfeE lRTnJxpzYZKPLwCVVY11HNiR1Vz4YYxbl2z8w6oKqxDkYfAK/rzASnUGOuHjIPYzntwWPF pGy52shN+623qLvjw3tgFflhgZZvJuBZx3RIuyBf6Dh/p/09eOxjtCoYvphNiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1730216860; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=mkFkf7cRgnFSZA6w9xjiyOPwQmUk0u/L4GcebFeQ/V0=; b=EhiGYu46WRPB6JLdVetfKZuGi/FtjH+I8v3jyZc9XLAQIorWG4cFUvGKt+M7HijBZBYWRa 63xGcRVL/ryeIFC7T+zI8ZxCud/878mEz2maxVOSSNAwAGNQkkUu8bq1R9BVfI3VgM7tdE jgcJSKKZSmmka2OfHg9Oe7kBJ+o2Ho5nsEX6+YwEs3b0HFJL8zTAhuR1TzLyV9p5rnbUw3 xvIJdkah9zgWXLoVU06QGkMrPewJ3gLSN2OoLHZTBzzBd8YXp+bZPdchmBrKw771RZiafF EFQSO7dFTzRB/BYHofLfhxa2EKb+Vr0JKZJf+x/tNsmsSofG/yJgB3Kow9HJeQ== ARC-Authentication-Results: i=1; rspamd-6b69467777-xsck2; auth=pass smtp.auth=thundermail smtp.mailfrom=confabulate@kintzios.com X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com X-MC-Relay: Neutral X-MailChannels-SenderId: thundermail|x-authsender|confabulate@kintzios.com X-MailChannels-Auth-Id: thundermail X-Dime-Battle: 5515d2d552bcbb57_1730216861633_2199188472 X-MC-Loop-Signature: 1730216861633:1929446524 X-MC-Ingress-Time: 1730216861633 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.103.220.112 (trex/7.0.2); Tue, 29 Oct 2024 15:47:41 +0000 Received: from cloud238.thundercloud.uk (cloud238.thundercloud.uk [149.255.62.116]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id E30C51E0008 for ; Tue, 29 Oct 2024 15:47:37 +0000 (GMT) Authentication-Results: cloud238.thundercloud.uk; spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=rogueboard.localnet Received-SPF: pass (cloud238.thundercloud.uk: connection is authenticated) From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Renaming files with those pesky picture type characters. Date: Tue, 29 Oct 2024 15:47:27 +0000 Message-ID: <4973073.31r3eYUQgx@rogueboard> In-Reply-To: <32f571c7-de3f-53da-185a-9cdfa0797a93@gmail.com> References: <32f571c7-de3f-53da-185a-9cdfa0797a93@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail 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 Content-Type: multipart/signed; boundary="nextPart4617072.LvFx2qVVIh"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <173021685725.473692.14043976018044908832@cloud238.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Rspamd-Queue-Id: E30C51E0008 X-Rspamd-Server: mailclean11 X-Spamd-Result: default: False [-1.61 / 999.00]; SIGNED_PGP(-2.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; ONCE_RECEIVED(0.10)[]; MX_GOOD(-0.01)[]; RCVD_TLS_ALL(0.00)[]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; NEURAL_HAM(-0.00)[-0.992]; R_DKIM_NA(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(0.00)[+mx]; HAS_REPLYTO(0.00)[confabulate@kintzios.com] X-Rspamd-Action: no action X-Archives-Salt: 90aad27b-4f48-4bb0-b7dc-65553e6d3f25 X-Archives-Hash: 92ee40800624f5e4a06332895a6b094b --nextPart4617072.LvFx2qVVIh Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Date: Tue, 29 Oct 2024 15:47:27 +0000 Message-ID: <4973073.31r3eYUQgx@rogueboard> In-Reply-To: <32f571c7-de3f-53da-185a-9cdfa0797a93@gmail.com> References: <32f571c7-de3f-53da-185a-9cdfa0797a93@gmail.com> MIME-Version: 1.0 On Tuesday 29 October 2024 15:18:40 GMT Dale wrote: > Howdy, >=20 > I downloaded some files. I have a few that have some weird names. Some > have those picture type characters. Some start with a dash, "-". In > some cases I can use wild cards to change them. Frank gave me some > ideas on that off list, while discussing his nifty checksum tool.=20 > Anyway, I ran up on a few that start with a dash, "-", and I can't find > a way around that. The mv command thinks it is me trying to include a > option. It spits out something like this.=20 >=20 >=20 > mv: unrecognized option '---ne.avi' >=20 >=20 > Some of the other characters I run into look like this.=20 >=20 >=20 > =EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD >=20 >=20 > Those I can usually get around with wildcards. I have not found a way > to get around the ones with the dash in front tho. I tried a single > quote, double quote etc but still no worky. Also, tab completion > doesn't help either.=20 >=20 > One reason I want to change these, it makes Frank's script puke on my > keyboard. It reacts the same way with Franks script as it does when I > try to use cp or mv. Why someone would name files that way is beyond me.= =20 >=20 > What is the trick to rename these files? I've tried mv, Dolphin, > Krusader and such. There has to be a way but I can't figure out what it > is. Heck, I'm not even sure what to search for to find out how to do > this.=20 >=20 > Thanks.=20 >=20 > Dale >=20 > :-) :-)=20 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 =46or a GUI-fied application, you can use 'kde-misc/krename'. --nextPart4617072.LvFx2qVVIh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmchA48ACgkQseqq9sKV ZxlFcxAAmbPyTlrmqEtTdbRYKSdw89NGh2CDdY9AI4IrD4Ry+DMOCfpIq3ZO42ET l5Nr4uYkhglhEyHWIWQJE93DubqlN/aT0ZWY6V98qaIvF94Yvz6YqA7GioupWFZQ M/o3OOO6riB/gAreHU6dixNAf+0ASTEqa4nXkAylAzOUdKBEUwgsqE4ZJdvyaRgR mRtb5/tkP7TZtxjMkfurG7K1jLZjPoVbclpNfzXpKPSWjk0v7WAdidYoLp4jeQ7j R9AChwExKvdfo7nSPpETTXjfaSK0EYwlp7qTL39WpNtS+vJuWrLT+Og5llXtPJV0 vmUt1tpiykPppGKs2N98sgC/xdvCNurXfcj62WE862nCS39lVPtWZv1BO7N031Xe RXND0pv/w0lsPyCUJjnw0OADDM3YxZesvv7k+SoQfakAneNwzVwRNWRBmEu/PiFv Jc1Dx5w6s93h8BzQcCFLLu0wKrI+HSeygUFY+OuQULgg7BtUvX1EcmlKDuBCmbgA 7QxSSKH03kQDMuINvyUJdh907d7y4qfas3W9w3WzosjXnyxwTFk2R4hkbfcWDw7g fzfH7Z27BoQMJCj/OFv6JEfzUpICSW5xox3qDYBCF/qqX8jBTzQ+d6RP7a5gn17E TVwtRxJSjjxbXmtoxufLjdfOLnlI2de9S9BJmGwzo6R78MgbLjk= =CO9G -----END PGP SIGNATURE----- --nextPart4617072.LvFx2qVVIh--