ls -l | grep drw | awk ‘{ system(“mv ” $NF “/* ./”) }’
This command basically moves whatever in subdirectories to the current directory. However, I am not sure what happens when files in the subdirectories have the same name.
ls -l | grep drw | awk ‘{ system(“mv ” $NF “/* ./”) }’
This command basically moves whatever in subdirectories to the current directory. However, I am not sure what happens when files in the subdirectories have the same name.