Calculate total filesize of multiple torrent files

Quick script which lets you check if you have enough storage space to download all these sweet Linux distributions (nah mean) you already grabbed the .torrent file for. Nested directories (*cough* collages) are no problem.

Usage

Install dependencies listed in the script, create a directory called torrent or just customize the path in the script and then run node app.js.

Output

RatioHit|⇒ node app.js
Total size:
694263227494 bytes
662101 MB
647 GB
Number of Torrents: 1728

Script

Calculate total filesize of multiple torrent files
Share this