Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

find-bad-filenames

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

find-bad-filenames

A node executable to find any filenames recursively with invalid characters in them

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

find-bad-filenames

A node script for recursively finding filenames that include reserved filename characters. The process will exit with error code 1 if a bad filename is found.

Usage

$ npm install -g find-bad-filenames

or

$ npx find-bad-filenames

Then...

// Search thru specific path
$ find-bad-filenames [path]
$ npx find-bad-filenames [path]

or

// Search thru current folder
$ find-bad-filenames
$ npx find-bad-filenames

Example

Searching through a folder in the home directory called "project" that has a file by the name of bad*file.#

$ find-bad-filenames ~/project

Outputs:

Found bad filenames:
[
  '/Users/johndoe/project/bad*file.#'
]

Keywords

FAQs

Package last updated on 17 Mar 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc