1

copying files from 2nd level subdirectories into 1st level.

view story
linux-howto

http://chakra-project.org – I am trying to move files from second level subdirectories into 1st level subdirectories. I.edirectoryA/directory1/directory-a/filesI would like to move the files from directory-a to directory1, and if possible delete directory-a after the files have been moved. The problem is I have hundreds of directories in directoryA, and then subfolders within the 1st level subdirectory. It looks like: directoryA / | \ directory1 directory2 directory 3 .... / \ / | \ / directory-a directory-b directory-a directory-b directory-c directory-a ....The files currently (HowTos)