Skip to content

Instantly share code, notes, and snippets.

@hivivo
Last active February 25, 2023 23:53
Show Gist options
  • Save hivivo/42b33041f1bdb8eacca59e557b5d4e21 to your computer and use it in GitHub Desktop.
Save hivivo/42b33041f1bdb8eacca59e557b5d4e21 to your computer and use it in GitHub Desktop.
Useful Windows Terminal commands
# batch renaming files
# e.g. ??.mp4 -> Prefix-??-Suffix.mp4
dir ??.mp4 | Rename-Item -NewName { "Prefix-$($_.BaseName)-Suffix.mp4" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment