Forum Discussion
ElaineLuria
Jun 03, 2025Iron Contributor
Finding the full duration of multiple files/folders Win11
Hi! I have a bunch of downloaded music in my music folder and am curious how long the collective duration is between them. Please let me know if anyone knows how to find the collective duration! I us...
Jie-Aosi
Jun 10, 2025Iron Contributor
This is probably the most flexible and powerful approach. You can write a small Python script that iterates through the files, reads their metadata (duration), and sums the values. Python has libraries like pathlib for file system interaction and mutagen for reading audio file metadata. This approach gives you the most control and can be extended to handle various file types.