AVS › AVS Forum › Gaming & Content Streaming › Networking, Media Servers & Content Streaming › Tool to Put Each Movie in its Own Folder?
New Posts  All Forums:Forum Nav:

Tool to Put Each Movie in its Own Folder?

post #1 of 5
Thread Starter 
Is there a tool that can scan a directory and put all movie files in their own separate folders with the same name as the movie? Thanks.
post #2 of 5
There is probably one already out there. Try a google search on it. I may try to throw one together if I get the time. Should be relatively simple to program.
post #3 of 5
Thread Starter 
Thanks for the tip... did Google, but came up w/o any appropriate matches. Hoping a Dune owner can help as I think that's how you need to setup movies for it.
post #4 of 5
Quote:
Originally Posted by Brajesh View Post

Is there a tool that can scan a directory and put all movie files in their own separate folders with the same name as the movie? Thanks.

Yep.

paste the code below into a text file and save as whatever.bat then run it in the directory. Make sure you test it on a couple of files first.

Code:
@echo off
for %%a in (*.*) do (
md "%%~na" 2>nul
move "%%a" "%%~na"
)
Warning....this will take all files regardless of extension and place them in directories of the same name.

So...if you have movie.mkv and movie.jpg they will be placed in the same directory. but if you have movie.mkv and folder.jpg they will be placed in 2 different directories.
post #5 of 5
Thread Starter 
Great, thanks, will give it a try.

Update: Worked like a charm; thanks again.
New Posts  All Forums:Forum Nav:
  Return Home
AVS › AVS Forum › Gaming & Content Streaming › Networking, Media Servers & Content Streaming › Tool to Put Each Movie in its Own Folder?