But basically what it does is, Takes all .MKV in the current folder will Create and Move them into a Folder with the Same Name as the .MKV.
I do Bulk Rips and Encodes. This little script saves me some time. I know you can use some other programs todo this but I find this to be a Quick Solution.
You will need PowerShell Installed (google it)
1. Take the Script in the Quote and Paste it in a Notepad.
2. Then save the file as OrganizeMKV.ps1
3. Then Move the OrganizeMKV.ps1 to your Finished .MKV Folder
4. Right Click it and Run in PowerShell
I hope this helps anybody!# Specify the path to the directory containing your .mkv files.
# By default, the script will run in the same directory as the script file.
$sourcePath = $PSScriptRoot
# Get all .mkv files in the specified directory.
Get-ChildItem -Path $sourcePath -Filter "*.mkv" -File | ForEach-Object {
# Get the file object and its name without the extension (the BaseName).
$file = $_
$folderName = $file.BaseName
# Construct the full path for the new folder.
$newFolderPath = Join-Path -Path $sourcePath -ChildPath $folderName
# Create the new folder. The -Force parameter ensures the folder is created
# even if a folder with the same name already exists.
New-Item -Path $newFolderPath -ItemType Directory -Force | Out-Null
# Move the .mkv file into the newly created folder.
Move-Item -Path $file.FullName -Destination $newFolderPath
}