To copy files from remote servers
a) Mount the filesystem locally using NFS.
Run the below :
rsync -avtz /net/host_name-mounted/faovm /scratch/aime/faovm_local
/net/host_name-mounted/faovm is a NFS point which is mounted locally.
There is a difference in
/net/host_name-mounted/faovm and /net/host_name-mounted/faovm/
/net/host_name-mounted/faovm : will copy faovm directory also.
/net/host_name-mounted/faovm/ : by giving trailing slash it will copy contents inside faovm dir.
-a archive mode
-v verbose
-t preserve time
-z transfering in a compressed mode , so that transfers are done quickly
a) Mount the filesystem locally using NFS.
Run the below :
rsync -avtz /net/host_name-mounted/faovm /scratch/aime/faovm_local
/net/host_name-mounted/faovm is a NFS point which is mounted locally.
There is a difference in
/net/host_name-mounted/faovm and /net/host_name-mounted/faovm/
/net/host_name-mounted/faovm : will copy faovm directory also.
/net/host_name-mounted/faovm/ : by giving trailing slash it will copy contents inside faovm dir.
-a archive mode
-v verbose
-t preserve time
-z transfering in a compressed mode , so that transfers are done quickly
No comments:
Post a Comment