I'm trying to compress all the subfolders of a main file, and this is the script I run. For some reason, the folders have TS files saved with .mp4 at the end of their file name.
- Can anyone explain why it's completely bypassing them?
- I'm trying to make a log for my script, so it shows which files it detected, which it went through and which it skipped/returned error.
- If anyone knows how to keep it going or skip/restart when there's an error, it'd help.
I've attached the folder with the source code: https://file.io/taFsYIKPrImh The program is a CLI launcher and then the subfolder launcher which identifies the main root folder.