Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
ebook-rename
Advanced tools
If you use this project, you can click star to support it.
Use ebook-meta to retrieve data from eBooks and rename them
Before using, please ensure that the computer has calibre software installed
$ npm i -g ebook-rename
$ ebook-rename -h
Usage: ebook-rename [options]
Options:
-d, --directory <path> The directory where the e-book is located (default: current directory)
-f, --format <string> The e-book format to be renamed, supported formats: azw, azw1, azw3, azw4, cbr, cbz, chm, docx, epub, fb2, fbz, html, htmlz, imp, lit, lrf, lrx, mobi, odt, oebzip, opf, pdb, pdf, pml, pmlz, pobi, prc, rar, rb, rtf, snb, tpz, txt, txtz, updb, zip (default: Support all)
-o, --output <path> Output directory (default: outputBooks)
-m, --mode <string> Output mode, supported mode: cover, jump (default: jump)
-v, --version output the version number
-h, --help output usage information
If your computer is mac or linux and there are spaces in the directory, then you need to use a backslash in front of the space to convert spaces, as follows:
# mac or linux
$ ebook-rename -d ~/kindle/My\ Kindle\ Content
If your computer is windows and there are spaces in the directory, then you need to enclose the directory with double quotes "
. as follows:
# windows
$ ebook-rename -d "c:/kindle/My Kindle Content"
$ ebook-rename -d ~/kindle/My\ Kindle\ Content
If not filled, the default is the current directory.
$ ebook-rename -o ~/newName
If not filled, the default is the outputBooks folder in the current directory(If not, it is automatically created)
$ ebook-rename -m jump
jump: Skip if there is already a file with this name in the output directory
cover: If there is already a file with this name in the output directory, then the file is overwritten
$ ebook-rename -f mobi,azw3,epub
The default support format is: azw, azw1, azw3, azw4, cbr, cbz, chm, docx, epub, fb2, fbz, html, htmlz, imp, lit, lrf, lrx, mobi, odt, oebzip, opf, pdb, pdf, pml, pmlz, pobi, prc, rar, rb, rtf, snb, tpz, txt, txtz, updb, zip
If you want to specify more than one, you can use a comma to split
Black-Hole
FAQs
Get the metadata of the e-book and rename it
The npm package ebook-rename receives a total of 2 weekly downloads. As such, ebook-rename popularity was classified as not popular.
We found that ebook-rename demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.