I am looking for a script for moving files from subdirs to the parent directory
My folder structure looks like this.
- Inside of a folder A I have a lot of folders named 1,2,3,4,5…
- All these folders contain 2 more folders named B and C.
- B and C contain files that I want to move one level up, then delete folders B and C.
Thank you in advance for any help you can give me with this script
You can use:
It will just print Output on screen as below :
If output looks OK then you can simply append
| shat the end of that command, then it will run command which is shows in output.