Say you have a directory 'oldir' on a disk on one machine
and you would like to move the directory (with all it's subdirectories)
to another disk on a different machine. The easy way to do this, if both
the disks are NFS mounted, is:
cd to your 'oldir' (e.g., cd /dk/bgo11/tl/w1)
make your new directory as, e.g.,
mkdir /dk/bgo15/tl/w1
use tar to transfer the whole directory tree as:
tar -cvf - . | (cd /dk/bgo15/tl/w1; tar -xBpf -)
ls your new directory to make sure all files were transferred
correctly (in this case: ls /dk/bgo15/tl/w1)
MAKE SURE YOU ARE IN YOUR OLD DIRECTORY
cd one up: cd ..
delete you old directory as: rm -rf 'olddir'. In this
example you would be in directory: /dk/bgo11/tl
at this point, and you would issue the command:
rm -rf w1
if you want to move a directory (with all it's subdirectories)
on the same disk then it is enough to move the directory
using the mv command.