Windows doesn't lend itself easily to batch file movements.
But it shouldn't take you long to move the contents of each logs folder up a directory should it?
You say you have an average of 24 files in each log folder. I assume you know how to use Windows Explorer and how to select and cut and paste multiple files?
Why not select all the files in the first logs folder you want to empty, and instead of cutting and pasting, "drag" them over to the dated folder above the logs folder in the left pane of Windows Explorer. It would take 3 or 4 seconds per selection. Then right click the logs folder, and Shift+Delete to get rid of it.
Then move to the next dated folder. You could do 12 folders in a couple of minutes, and that's a year done. Multiply by 10 and you have less than an hours work.
I have the following situation:
I have log files stored in directories by date (C:\logs\01-01-2005, C:\logs\01-02-2005,
etc.). Inside each of these directories is another sub-directory (C:\logs\01-01-2005\logs\,
C:\logs\01-02-2005\logs\, etc.). I want to move the *.log files from the \logs\
directory up to the date directory.
I want to go from this:
I've played around with some file managers and with 'xcopy', but I can't seem to
accomplish this task using an automated method. I started doing it manually, but
I have directories going back to 1995, and in each given \logs\ directory, there
are an average of 24 files.
Any help would be appreciated!