Kodi Community Forum
how do you make bulk folders - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: how do you make bulk folders (/showthread.php?tid=120766)



how do you make bulk folders - rugbymad - 2012-01-23

Hi,
I'm about to make the jump to eden beta 2, but i need to export my library. my problem is I have 100 films not in folders, just on their own and want to put them in their own folder, so i can export fanart etc into them.

the question is , how do you do it? does anybody know of a easy programme i can use?

thx


- unabatedshagie - 2012-01-23

Not used it in a while but I believe Ember Media Manager had this feature.

http://forum.xbmc.org/showthread.php?tid=116941


- PatK - 2012-01-23

I picked this up a while back in these forums... so don't thank me.
------------------------------

@echo off
for %%a in (*.*) do (
md "%%~na" 2>nul
move "%%a" "%%~na"
)
pause

------------------------------
Using notepad

Copy & Paste the above between the dotted lines only... call it batch_folder.bat. Stick it in a folder with 'only' those files you want
a folder made... Click the .bat and they all get folders and the files get inserted including the .bat

careful here....
everything gets a folder with the same name as the file.