I’m hoping that someone here can point me in the right direction to solve a problem I have.
I have a directory, let’s call it “directory”.
Within this directory I have 100 sub-directories, called “subdirA”, “subdirB”, “subdirC”,…
Within each of these subdirectories I have ONE file.
What I’d like to do is extract the files from the subdirectories and store them in the main directory, eg.
Does anyone know of a way to do this OTHER THAN MANUALLY? Is there a script that will do this?