Is there an easy way to copy a directory recursively wheresymlinks to external files/directories are resolved (target file is copied),but internal symlinks (pointing to files inside the copied tree) are kept?Example:touch outsidefilemkdir srcln -s ../outsidefile src/sym1touch src/insidefileln -s insidefile src/sym2cp [???] src dest # or other commandwanted result:$ ls dest insidefile sym1 sym2 -> insidefilei.e. sym1 is a regular file, sym2 keeps to be a symlink.   
cp command which partially resolves symlinks
backup;symlink;cp;file copy