I have a folder with all data inside with this structure:
Data
-> Group 1
-> Group 2
...
-> Group n
In each subdirectory have a number of files. Now I want to create another directory with the same structure and move some of these files to that new directory(about 20% of total files)
New Data
-> Group 1
-> Group 2
...
-> Group n
I think of using something to read the structure of the folder and file list, then pipe it to another command to create and move the files, but I haven't know the syntax yet. Thank you