1.0.3 • Published 4 years ago

rename-by-ext v1.0.3

Weekly downloads
8
License
MIT
Repository
-
Last release
4 years ago

rename-by-ext - Rename files by their extension

The idea is to rename two lists of files by their extension. For an example movie files and their subtitles. It's necessary for them to be in the same order.

Installation

npm install -g rename-by-ext

Usage

rename-by-extension PATH --lead LEAD_EXTENSION --follow FOLLOW_EXTENSION

Example

ls .

movie01.mp4
movie02.mp4
subtitle01.srt
subtitle02.srt

rename-by-extension . --lead mp4 --follow srt

ls .

movie01.mp4
movie01.srt
movie02.mp4
movie02.srt
1.0.3

4 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago