Skip to content

pvcresin/glob-extension-changer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glob-extension-changer

A simple command line interface to change the file extension using the glob pattern.

Usage

Dry run with --check flag.

npx glob-extension-changer 'path/to/file/**/*.js' --extension .ts --check

Actually rename it.

npx glob-extension-changer 'path/to/file/**/*.js' --extension .ts

Options

Just run glob-extension-changer --help.

Usage: glob-extension-changer [options] [glob]

Options:
  -v, --version                output the current version
  -x, --extension [extension]  specify the extension after conversion
  -c, --check                  print the result after conversion
  -h, --help                   display help for command

About

A simple command line interface to change the file extension using the glob pattern.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published