I have a folder with around 80,000 files in it and would like to move them to 3000 files in each new folder.
Any suggestion?
Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!
Edited by tallin, 07 February 2008 - 07:51 PM.
mfiles.bat "C:\Test" 3000This will split all the files located in C:\Test into subdirectories of 3000 files each (C:\Test\moved0, C:\Test\moved1,...). It is important to put quotes around the path name if there is a space included, best to put it in for good measure.
I am afraid I don't completely understand what you are trying to do. Yes, it can be made to traverse subfolders. What total are you wanting to calculate? The number of files in a folder?Btw, is it possible to make it search for subfolders, calculate total and move all files in to the Moved named folders too?
I use a folder f:\test, I copy the script to f: drive and start -> run -> mfiles.dat "f:\test" 3000Can you tell me what the folder name was that contained the files and where you ran the script from? Also, what was the syntax of the script you ran?
Hmm, let say I have 5 sub folders with different amount of files, I would like to total them and move all into 3000 per folder? without the tree structure, just files total up and split the folder.What total are you wanting to calculate? The number of files in a folder?
Edited by MaMister, 08 February 2008 - 06:19 PM.
0 members, 0 guests, 0 anonymous users
Community Forum Software by IP.Board
Licensed to: Geeks to Go, Inc.