Created
February 5, 2023 10:52
-
-
Save QZLin/f8e46c5b54860f71aa8d8fb0fb6b2ef5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 .. 10 | ForEach-Object { | |
$n = "$(if ("$_".Length -eq 1) { "0$_" }else { "$_" })" + ".mp4" | |
Write-Output $n | |
ffmpeg -i $n -c copy $n.Replace(".mp4", "_.mp4") | |
Move-Item $n _del | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment