# CLI Video Length Calculator > A command line Video Length calculator, can calculate a video's length, or the total length of videos in a given directory. [GitHub](https://github.com/HuakunShen/Toolbox/#videolen) ![](https://github.com/HuakunShen/Toolbox/raw/master/README.assets/videoLen.gif) ![](https://github.com/HuakunShen/Toolbox/raw/master/README.assets/google-demo.gif) Written completely in bash (https://github.com/HuakunShen/Toolbox/blob/master/bin/videoLen), no dependencies. ## Story I was watching OSCP tutorial videos which consists of many videos. I wanted to know how long it would take to finish all the videos and how long is each chapter. I couldn't find a tool that can do this, so I wrote one myself. ## Tech Stack - Bash