Anyhow, I'm looking to create a simple script to run after a movie is downloaded to clean it up before it is moved to the movie folder and then scraped using ember media manager.
What I notice when most movies download is that in the folder containing the movie file, there are often .srt, .nfo, etc.
If I were to write a script that would delete everything other than the video file would it look something like this?
Code: Select all
del *.srt
del *.nfoAlso, this may be asking a bit much but I'll shoot anyhow...
Occasionally the movie is in a double duplicate folder for example
MOVIE_FOLDER>MOVIE_FOLDER>movie file
If I wanted to reduce this to just one movie folder with the file inside, what would that look like? possible?
Thanks in advance!

