Tar tips -------- If moving files from one machine to another using NFS mounted FS's, it is better to do the reads over the network and the writes locally. To move whole directory structures from the current directory to a target directory: tar cf - . | (cd todir; tar xfBp -) NOTE: One advantage of this over cp -r is that permissions and ownership are retained and symbolic links are also copied. From the tar man page: B Block. Force tar to perform multiple reads (if necessary) to read exactly enough bytes to fill a block. This function modifier enables tar to work across the Ethernet, since pipes and sockets return partial blocks even when more data is com- ing. When reading from standard input, '-', this function modifier is selected by default to ensure that tar can recover from short reads. p Restore the named files to their original modes, and ACLs if applicable, ignoring the present umask(1). This is the default behavior if invoked as super-user with the x function letter speci- fied. If super-user, SETUID and sticky information are also extracted, and files are restored with their original owners and permissions, rather than owned by root. When this function modifier is used with the c function, ACLs are created in the tar- file along with other information. Errors will occur when a tarfile with ACLs is extracted by previous versions of tar .