Hi. I need to loop through a set of folders and process files that are in each folder. Does anyone have a script that will basically just loop through folders? Taht would be enough. I could probably modify it to fit my needs. Thanks!
Thanks. I got one working fine. However, I've run into a small problem with processing my files. here's my code:
What's happening is the entire script will get processed, and it will spawn 20 instances of ffmpeg to process my files. I don't want to run it 20 times simultaneously--I would rather it finish the first file, insert the info into the database, then move to the next file. Is this possible? Thanks!