> > (cd $1; tar cf - .) | (cd $2; tar xf -) > > Why not ( cd $2; tar -cf - -C $1 . | tar xf - ) ? Because the -C flag to "tar" was added by Berkeley in 4.2BSD; it's not present in all versions of "tar". Guy Harris