hi!
A few days ago I posted a few lines of batch script in the chat for listing videos with missing funscripts which seems to be useful to many of you. I thought it would be good to make a thread for it so we can move the discussion here and enable people to find it later. I made an improvement to the script as well. It now also outputs the files that are OK and supports sub-folders.
Script:
@echo off
for /R . %%F in (*.mp4) do (if exist "%%~pnF.funscript" (echo [OK] %%F))
for /R . %%F in (*.mp4) do (if not exist "%%~pnF.funscript" (echo [MISSING] %%F))
pause
Thank you! Any way to include subfolders? I tried to include /r in the first line like this but than it doesn’t show anything.
for /r %%F in (*.mp4) do (if exist “%%~nF.funscript” (echo [OK] %%F))
I appreciate the legwork on this so far.
I modified it for my own use a little because;
I don’t need a list of what is OK so I "rem"arked out that line
Some files are not .mp4 but also .mkv, etc. so I added checking for those too.
@echo off
rem for /R . %%F in (*.m??) do (if exist "%%~pnF.funscript" (echo [OK] %%F))
for /R . %%F in (*.m??) do (if not exist "%%~pnF.funscript" (echo [MISSING] %%F))
echo.
pause