Giter Club home page Giter Club logo

bangumi-sub-renamer's Introduction

bangumi-sub-renamer

A cli tool for renaming subtitles to matching episodes.

asciicast

Installation

npm

npm install -g bangumi-sub-renamer

pnpm

pnpm add -g bangumi-sub-renamer

Usage

$ cd [VIDEO_PATH]

# Video files and subtitle files are in the same folder
$ bnm

# Subtitle files are in the sub folder
$ bnm . ./sub

Commands

bnm VIDEO_PATH SUBTITLE_PATH

A cli tool for renaming subtitles to matching episodes.

USAGE
  $ bnm [VIDEO_PATH] [SUBTITLE_PATH] [-o <value>] [-m cp|mv]

ARGUMENTS
  VIDEO_PATH     [default: .] The path where the video files are stored
  SUBTITLE_PATH  [default: .] The path where the subtitle files are stored

FLAGS
  -m, --mode=<option>  [default: mv] choose mode between copy and move
                       <options: cp|mv>
  -o, --out=<value>    [default: VIDEO_PATH] path(should exist) to output file

DESCRIPTION
  A cli tool for renaming subtitles to matching episodes.

EXAMPLES
  $ bnm

  $ bnm . ./sub/ -m cp

  $ bnm . ./sub -o ./sub

bangumi-sub-renamer's People

Contributors

zebeqo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.