1

Move some files on every dir to a different dir

view story
linux-howto

http://unix.stackexchange.com – I'm quite new to Linux and specially to the shell and all of its commands. My goal is to move some files in every directory to another directory. To be more clear, I have this: /DIR - /dir1 - file1 - file2 - ... - /dir2 - file1 - file2 - ... - ... - /dirn - file1 - file2 - ... What I need is to move all the file1 and file2 into a new dir in its own dir, so that I get something like this: /DIR - /dir1 - /mydir - file1 - file2 - ... - /dir2 - /mydir - file1 - file2 - ... For the sake of the questio (HowTos)