Skip to content

Instantly share code, notes, and snippets.

@Vaduz
Created August 28, 2016 15:04
Show Gist options
  • Save Vaduz/5fbfd6ac651c371148bd9dc3a7a329b3 to your computer and use it in GitHub Desktop.
Save Vaduz/5fbfd6ac651c371148bd9dc3a7a329b3 to your computer and use it in GitHub Desktop.
recursively convert iso file to mkv by using handbrakecli in windows
gci . *.ISO -R | ForEach-Object { $input = $_.FullName; $newfile = "E:\ISOs\" + $_.BaseName + ".mkv"; &"C:\Program Files\HandBrake\HandBrakeCLI.exe" -i "$input" -o "$newfile" --preset "High Profile" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment