Skip to content

Instantly share code, notes, and snippets.

@hiking93
Created April 15, 2024 14:19
Show Gist options
  • Save hiking93/0d3574d56bb6f632de6bdecd51331a9d to your computer and use it in GitHub Desktop.
Save hiking93/0d3574d56bb6f632de6bdecd51331a9d to your computer and use it in GitHub Desktop.
$files = Get-ChildItem -Recurse -Filter '*.ts'
foreach ($file in $files) {
ffmpeg.exe -i ($file) ($file -replace '\.ts$', '.mp4')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment