rmanns (remove annotations) - a small wrapper around pdftk
for removing annotations from the pdf e-books downloaded from the popular web sites, such as www.it-ebooks.info and www.allitebooks.com.
Always before I buy a book I download it from the internet and read the samples, for quality assessment. If I like the book - I buy it, if not, I do not buy it. Yeah, maybe it's not cool, but I don't want to pay for bad books. The problem with books from the internets is annotations (red annotations is really irritable). This script solves this problem.
Attention
This script was tested only on Linux (Ubuntu), so use it your own risk.
How to use
As i say above, this script is just a wrapper around pdftk
and it's mean that you should install pdftk
:
β sudo apt update
β sudo apt install pdftk
Now you can use this script. You should move all your books with annotations to one folder and run script:
β python3 rmanns.py
Are you sure? [y/n]: y
Annotations removed from file: Learning_Python.pdf.
Annotations removed from file: Introducing_Data_Science.pdf.
Annotation will be deleted from all files that are in the current directory.
You can simply add alias for this script to your ~/.bashrc
or ~/.zshrc
file:
alias rmanns="python3 ~/.rmanns.py"
Disclaimer
I do not encourage the illegal use of content. This tool is aimed only for convenient evaluation of the book, nothing more. I recommend you buy books that you like. So you support your favorite author and motivate him to improve the book.
License
MIT License