OpenBSD Handbook

Current snapshot · amd64 · Generated 2026-09-09

p5-File-Rename-2.02

renames multiple files

Back to search · Project homepage

Description

File::Rename is a Perl extension that accepts a list of files, passes them through a subroutine, and renames them according to the output of that function. prename(1) is a command-line tool using this extension, allowing batch changes like these to be made: - strip the .bak extension of any *.bak files prename 's/\.bak$//' *.bak - translate uppercase names to lower prename 'y/A-Z/a-z/' *

Package information

Ports path
sysutils/p5-File-Rename
Package architecture
*
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
sysutils, perl5
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Test

Installing and updating packages · Package details as JSON