
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
FilterRename is a CLI tool created to rename a bunch of files at once applying a cascade of self-explainatory options called filters, in order to substitute all the other shell commands (like sed, awk, trim, ... ) and personal shell script to achieve that goal safely and in comfortable manner.
To simplify the whole process through a command line, the full filename is logically organized in targets like:
<path>/<folder>/<name><ext>
Considering the file /home/fabio/Documents/Ruby/filter_rename/Gemfile.lock
we have:
The chain of filters will be applied to the current target which can be selected using the --select option, the default target is name.
Install it yourself as:
$ gem install filter_rename
The main concept about FilterRename is the target manipulation with a chain of filters executed one by one as they appear in the argument's list.
There are three main operations:
Having the files:
home
fabio
Documents
Photos
Vacations
image_portofino_1.jpg
image_portofino_2.jpg
image_portofino_3.jpg
...
to replace underscores with spaces and capitalize each word let's execute:
filter_rename /home/fabio/Documents/Photos/Vacations/*.jpg --spacify '_' --capitalize --apply
and the result will be:
home
fabio
Documents
Photos
Vacations
Image Portofino 1.jpg
Image Portofino 2.jpg
Image Portofino 3.jpg
...
Where to start
$ filter_rename --help
More help
Bug reports and pull requests are welcome on GitHub at https://github.com/fabio_mux/filter_rename. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
FAQs
Unknown package
We found that filter_rename 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.