I am doing some mathematical calculations using basic (embarrasing) parallel computing.
There is a parent directory called calculations/ in which many directories are created that are called calculations/PID/ where PID is process ID. There are about 100 different PIDs. In every PID folder there is a folder called "REZ" in which all results are stored as so:
calculations/PID/REZ/UNIQUE_DIR_NAME/*
where UNIQUE_DIR_NAME are subdirectories that contain all text results inside.
I need to copy all these UNIQUE_DIR_NAME from various PID directories into one, so that all my results would be stored in calculations/REZ/UNIQUE_DIR_NAME/*
How do I copy everything in such way? I am using Fedora 20 on my computer and openSUSE 13.1 on calculations machine so methods for both systems are fine with me. It would probably be faster to copy everything as needed on openSUSE system, then zip and only THEN download to my fedora system.