Skip to content

Instantly share code, notes, and snippets.

@andyg2
Created December 16, 2023 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andyg2/74936d8a6d624302c8bc1878bd99a86f to your computer and use it in GitHub Desktop.
Save andyg2/74936d8a6d624302c8bc1878bd99a86f to your computer and use it in GitHub Desktop.
One liner to wrap all mp4 files in a folder of the same name
for %F in (*.mp4) do @(md "%~nF" 2>nul && move "%F" "%~nF\")
@andyg2
Copy link
Author

andyg2 commented Dec 16, 2023

From the command line works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment