My google skills are weak tonight.
Im after a script or method that would allow me to move a file from a directory into the upper level directory and then delete the empty folder.
Currently the structure is like this:
Ideally i'd like the script to be ran from the very top level folder as it contains 1500 sub folders. The files inside each subfolder all have the same extension.
Below is the structure i'd like.
I dont mind which type of script, powershell, vbscript, linux based etc
Im after a script or method that would allow me to move a file from a directory into the upper level directory and then delete the empty folder.
Currently the structure is like this:
Code:
Folder0:
Folder1:
Folder:
File.ext
Folder2:
Folder:
File.ext
Folder3:
Folder:
File.ext
Below is the structure i'd like.
Code:
Folder0:
Folder1:
File.ext
Folder2:
File.ext
Folder3:
File.ext