From nobody Fri Dec 27 01:27:32 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 4YK7Cg4t1jz5hgFv for ; Fri, 27 Dec 2024 01:27:43 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "holgerdanske.com", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YK7Cd6442z4ZT2 for ; Fri, 27 Dec 2024 01:27:41 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=holgerdanske.com header.s=nov-20210719-112354 header.b=g7hAnHuJ; spf=pass (mx1.freebsd.org: domain of dpchrist@holgerdanske.com designates 2001:470:0:19b::b869:801b as permitted sender) smtp.mailfrom=dpchrist@holgerdanske.com; dmarc=pass (policy=none) header.from=holgerdanske.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=holgerdanske.com; s=nov-20210719-112354; t=1735262853; bh=gZwB27ulk4oSiOSybGG/cavWg1/lvumHMFjq81XLOkc=; h=Received:Message-ID:Date:MIME-Version:User-Agent:Content-Language: To:From:Subject:Content-Type:Content-Transfer-Encoding; b=g7hAnHuJO8wn+EvD0f0yAh1552A1R/b7zRQpZ4ZhOFNud2rIwqG31t+0jMX/xfm3S UYARPQ44FCIq6mgl8lNN9c4DAIh7CAryxgWjDHZAB698IP8oo/5zU/AtsrMyESTWwW c6vQRM7shGpME0Sq8o5RR34NrwEVlyv2fnyGRuVioG9wJokAIS4BkJF31qls+fGux7 gKxCsD59Ag9SYq3hbfDAxeUT75cLLF5JBh6Dc8HhgqcxWMhRWIceNjUl1Lb0DUeMbU T+WFSQFEUH9ch6ZSLYBfG2wIQyKiJvzN1hdiBELMkDyVFdyGbR418Jur/k3HnMST/n LQ8kw0Z3YJ0AHGi9CXKaYrS/QC1buCzSas6xEw5NSfW4lEtkj66t0PR+JDAfmZOC6n 41gLtYCQLoNuPpvJqhoJRn2adWrRogTbY+d6QHDUcfCE147Q/eE35gPFv9+MSq108J Au9BQHY4v4MUSy2zL3+zcQ4/U9U4K67NiSiqw9W5uQyygaJdBBEHv/ROmG36amxUPM q4zfA/tLGLkifucxmk3uN+RhPu9DnXRVUUKWGN21jhANm4oTUlJa5HfpNpXQpBPIsG cOUal6PG1VJuM1K1bs/79AQBkSmPRdew4DYHeRE36TSrobkkYsAPtrMI+JOfkvpltn fhxPYh4Gz8B8ai3p77RVtgCY= Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Thu, 26 Dec 2024 17:27:33 -0800 Message-ID: Date: Thu, 26 Dec 2024 17:27:32 -0800 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 User-Agent: Mozilla Thunderbird Content-Language: en-US To: freebsd-questions@freebsd.org From: David Christensen Subject: The "rename" package does not install the rename(2) script? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-2.89 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; DMARC_POLICY_ALLOW(-0.50)[holgerdanske.com,none]; R_SPF_ALLOW(-0.20)[+a]; R_DKIM_ALLOW(-0.20)[holgerdanske.com:s=nov-20210719-112354]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[holgerdanske.com:+] X-Rspamd-Queue-Id: 4YK7Cd6442z4ZT2 X-Spamd-Bar: -- freebsd-questions: I have a FreeBSD machine on my SOHO network: 2024-12-26 17:23:08 toor@f5 ~ # freebsd-version -kru ; uname -a 13.4-RELEASE-p1 13.4-RELEASE-p1 13.4-RELEASE-p2 FreeBSD f5.tracy.holgerdanske.com 13.4-RELEASE-p1 FreeBSD 13.4-RELEASE-p1 GENERIC amd64 I wanted to install the "rename" Perl script: 2024-12-26 17:26:09 toor@f5 ~ # pkg search rename brename-2.14.0_7 Tool for batch renaming files/directories via regular expressions gprename-2.7_1,1 Perl script for renaming multiple files krename-5.0.2_4 Powerful batch file renamer for KDE linrename-2.25.2_1 Rename multiple files using substitution p5-Devel-Caller-IgnoreNamespaces-1.1 Make available a magic caller which can ignore namespaces p5-File-Rename-2.01 Rename multiple files rename-1.99.2_1 Rename multiple files using regular expressions renameutils-0.12.0_3 Rename files faster and more easily I installed the "rename" package (via a utility shell script): 2024-12-26 17:16:56 toor@f5 /var/local/image/f5 # install-packages -y + hostname -f + host=f5.tracy.holgerdanske.com + perl -e 'exit($ENV{OSTYPE} =~ /freebsd/ ? 0 : 1)' + cmd=pkg + cat /root/f5.tracy.holgerdanske.com/packages + xargs pkg install -y Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: rename: 1.99.2_1 Number of packages to be installed: 1 23 KiB to be downloaded. [1/1] Fetching rename-1.99.2_1.pkg: 100% 23 KiB 23.6kB/s 00:01 Checking integrity... done (0 conflicting) [1/1] Installing rename-1.99.2_1... [1/1] Extracting rename-1.99.2_1: 100% ===== Message from rename-1.99.2_1: -- ===> NOTICE: The rename port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing 2024-12-26 17:17:56 toor@f5 /var/local/image/f5 # My shell is unable to find the rename(2) binary: 2024-12-26 17:23:05 toor@f5 ~ # rename -bash: rename: command not found 2024-12-26 17:23:06 toor@f5 ~ # which rename 2024-12-26 17:23:20 toor@f5 ~ # echo $PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin 2024-12-26 17:24:24 toor@f5 ~ # find -x / -name rename /usr/tests/sys/pjdfstest/rename Comments or suggestions? David