🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

smart-file-renamer

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package version was removed
This package version has been unpublished, mostly likely due to security reasons

smart-file-renamer

A smart file renaming tool supporting pattern matching and sequential numbering.

1.0.0
unpublished
npm
Version published
Weekly downloads
0
-100%
Maintainers
0
Weekly downloads
 
Created
Source

Smart File Renamer

A smart file renaming tool that supports batch renaming, pattern matching, and sequential numbering.

Features

  • Rename multiple files in a directory
  • Support for glob pattern matching
  • Auto-generate sequential numbers for renamed files

Installation

npm install

Usage

Run the following command to rename files:

node index.js <directory> <pattern> <newName> <extension>

Example:

node index.js ./test "*.txt" new_name txt

This will rename file1.txt, file2.txt, etc., to new_name_1.txt, new_name_2.txt, etc.

Testing

To run tests, execute:

npm test

FAQs

Package last updated on 14 Mar 2025

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