
Security News
Oxlint Introduces Type-Aware Linting Preview
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
:main:README
= Rename File Set
Rename File Set is a utility for transforming the name of matching files using the full power of regular expressions. I originally created this program to help organize my mp3 collection, but it has proven to be generally useful.
As I have added features, the program has been extesively refactored. It is DRY and very modular. It is also very well tested. Features can now be added or changed very easily.
Author:: Darrick Wiebe Copyright:: Copyright (c) 2005 Darrick Wiebe License:: Distributed under the MIT Licence (see MIT-LICENCE file)
== Command Line Interface
There are two entry points to the command line version of the program. The primary one is +rfs.rb+. +rfsd.rb+ just adds debugging options.
=== Usage
rfs.rb [options] [path] [path] ...
If no path is specified, the current directory is used.
==== The Four Primary Modes of Operation
[--list] List Mode: List all files in the folder [--match] Match Mode: List all matching files but don't make any changes [--test] Testing Mode: Display the results without making any changes [--commit] Commit Mode: Actually perform the operation on the target files and display the results. By default, --confirm is turned on, see below.
==== Search
[--search regular expression] This option is required for
==== Behaviour Modification Options
[--confirm] Ask for confirmation before committing a change with a prompt like:
<tt>"./original" => "new_name"? [Yes/No/All/Cancel] (yes) _</tt>
or
<tt>"./original" => existing file "new_name"? [Yes/No/All/Cancel] (yes) _</tt>
This option is on by default.
[--noconfirm] Don't confirm changes. [--capture capture number] Specifies which capture in the regular expression should be used or replaced. By default the first capture is used. This option affects all regular expressions used. If the expression has no captures, the whole match is used, and this setting has no effect. [--filter regular expression] Filters out all matching files or directories. Multiple filters may be specified. [--keep regular expression] Filters out all non-matching files or directories. Multiple filters may be specified. [--force] Overwrite existing files. If --confirm is on, the confirmation message will [--ignorecase] Make all regular expressions case-insensitive. [--recursive] Recursively descend into the paths specified. [--reverse] Iterates through files in reverse order.
==== Primary Functions
[--add number] Add number to the capture. [--count start] Replace the capture with the count. succ is used to increment, so you can use either letters or numbers. [-- ]
[-- ]
[-- ]
[-- ]
[-- ]
[-- ]
==== Display Options
[--]
[--]
[--]
[--]
The program
FAQs
Unknown package
We found that rfs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.