The Hidden Blog

As it turns out, I do have a hostname.

Calculate total filesize of multiple torrent files

Published on November 6, 2014

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


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.


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