Giter VIP home page Giter VIP logo

bilibilidownloadedfiletidy's Introduction

#Bilibilli 下载文件整理脚本

用于整理 Bilibili 下载好之后的文件,比较适用于番剧

运行脚本后会生成一个 startTidy.sh 脚本文件。运行它后将会把文件夹内的视频,该合并的合并,该 copy 的 copy ,并重命名成集名后,移动到以番剧为标题的文件夹内。文件夹会在生成脚本文件的时候创建在父目录内。 ##运行环境

Linux Bash

依赖 pv(用于拷贝文件,可以修改脚本用 cp 或者 cat 代替)、 jq(分析 json 文件用,必须)、 ffmpeg (合并分段文件,必须)

##用法

在需要整理的文件夹的父目录运行

./initBilibiliFileTidyUp.sh s_1294 && startTidy.sh

其中的 s_1294 替换成要整理的文件夹。如果不想生成好整理用脚本后立马执行,可以去掉 && startTidy.sh

##其他事项

脚本比较简单,如果 ffmpeg 因为下载的视频格式有点特殊、要用实验性 feature (例如 aac 编码问题),请修改脚本开头的 strict2 变量的值

运行的时候确保你的 ffmpeg 是全功能的(起码标准的 h264 转换要有),否则很容易出问题。

如果中途转换出了问题请删了生成的文件重新再来。

bilibilidownloadedfiletidy's People

Contributors

cattenlinger 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.