Skip to content

user28111999/renamePattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

renamePattern

Bandcamp like renaming pattern for audio files

Example files

01 Track Name.mp3
02 Untitled.mp3
03 The Fool.mp3
04 Pressure.mp3

to

A Great Band! - A Great Band! EP - 01 Track Name.mp3
A Great Band! - A Great Band! EP - 02 Untitled.mp3
A Great Band! - A Great Band! EP - 03 The Fool.mp3
A Great Band! - A Great Band! EP - 04 Pressure.mp3

Requirements

ffmpeg installed on your system (for ffprobe)

Only supports audio files!

Usage

~ node renamePattern.js ./Album "Artist Name" "Artist Album"
  • ./Album corresponds to the folder where the audio files are. (See example files)
  • "Artist Name" corresponds to the artist name. (See example files)
  • "Artist Album" corresponds to the album's name. (See example files)

If the argument -c is provided, everything will be in caps such as the following example:

~ node renamePattern.js ./Album "Artist Name" "Artist Album" -c
A GREAT BAND! - A GREAT BAND! EP - 01 TRACK NAME.mp3
A GREAT BAND! - A GREAT BAND! EP - 02 UNTITLED.mp3
A GREAT BAND! - A GREAT BAND! EP - 03 THE FOOL.mp3
A GREAT BAND! - A GREAT BAND! EP - 04 PRESSURE.mp3

About

Bandcamp like renaming pattern for audio files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published