Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GLENTH2

🎈 You ever wondered how long does it take to watch the videos you have in a folder ?
Then glenth is for you !

glenth was originally https://github.com/aliaryani-security/glenth , but it was full of bugs and bad coding ,
so I decided to rewrite it entirely.



💎 glenth2 comes with lots of improvements and new features :

Introducing glenth2 and it's features 🧩

❓ Have you ever wondered "how long will it take to watch all these videos ?!"
✅ The amazing glenth2 is here to answer this question for you !

💎 New features that glenth2 has brought to you :

  • using pure python code : the previous version was 80% shell script and 20% python code , but things are different now 😈
  • using subprocess instead of os : old fashion ways are working no more 😄
  • subdirectory search : not only you can scan one folder for videos , but also you can scan all subdirectories as well 📂
  • verbose mode : by using this option , you can see the length of every single file as well 👁
  • new theme : previous version had color problems with some shells , this new one has not. it uses simple colors that work everywhere 🎨
  • custom file types : in this new version , you can choose any video types you want , and glenth2 will scan for those only 🔍

Usage 👨‍💻

By default , glenth2 scans for all video files in the current directory.

glenth2 [ options ]

-h    --help        shows the help message.
-V    --version     shows the version and exits. ( all other options will be ignored )
-v    --verbose     enables verbose mode. will show the length of every single video as well.
-s    --sub-directories   will scan subdirectories as well.
-d    --target-directory <directory>    choose a directory to scan
-t    --types        choose custom file types to scan for

Installation and requirements ⚙

🎈 it's a python script , use can simply run it using ./main.py

  • clone it using the following :
git clone https://github.com/aliaryani-security/glenth2
  • OR if you use github client :
gh repo clone aliaryani-security/glenth2

💎 if you want to install it system-wide , use the following :

sudo git clone https://github.com/aliaryani-security/glenth2 /opt/glenth2
sudo ln -s /opt/glenth2/main.py /usr/bin/glenth2
sudo chmod +x /opt/glenth2/main.py



🪐 before using this beauty, make sure you have ffmpeg installed 😉

a few words ✍

I will be happy if you follow me on my Instagram ♥
https://instagram.com/aliaryani-security

About

Find the length of videos in a folder

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages