Archive for July, 2009

Moving Files in Subdirectories
July 6, 2009

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.