Bash tool for summing up durations of audio and video files
Linux only!
exiftool
Clone the repository to your home directory:
git clone https://www.github.com/BaumGuard/auvidur
Enter the folder:
cd auvidur
Make the script executable:
chmod 777 auvidur
To start auvidur from anywhere, just copy it to /usr/bin:
sudo scp auvidur /usr/bin
If you haven't copied auvidur to /usr/bin you have no navigate to the folder of auvidur and start it from there:
./auvidur
or
bash auvidur
Otherways just write "auvidur".
Enter the file names or file paths after "auvidur". You can also select a bunch of files in your file manager, copy them and paste them after "auvidur". For example like this:
auvidur /path/to/file1.wav /path/to/file2.mp3 /path/to/file3.ogg
Now hit Enter and you should see the summed-up duration on the bottom.
Depending on how many files paths you have entered it might take a while until you see the result.
There are cases in which you might be faced with this error:
expr: Syntax error: missing argument after "+"
This can happen if you have entered files that can not be classified as audio or video. Normally they shouldn't affect the total duration.