In AIX, you can use the following command to copy all files from one directory to another, recursively, keeping all permissions, links, sockets, etc.
tar cdf - * .??* | ( cd targetdir; tar xfp - )
Note : this assumes no files that are . followed by a single character.
You must log in to post a comment.