alias cpbytar 'tar cvf - . | ( cd \!* ; tar xvf - )'
(The alias definition above is for CSH)
To do a recursive copy of a directory to another location,
preserving the PERMISSIONS and OWNERSHIP of the files.
"cd" to the source location and invoke the following alias
cpbytar
This tip generously supported by: bhavin@informix.com
NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into
production.