nfscp is a tool to transfer files between host and a NFS(Network File System) directly without MOUNT(8)
.
- Copy file from local to NFS
- Copy file from NFS to local
- Recursively copy directory from local to NFS
- Recursively copy directory from NFS to local
- Transfer speed limit
To install type (in the folder that contains the Makefile):
make build
The target binary will be at _output/bin/$ARCH/nfscp
.
Copy local directory to remote NFS server with speed limit 10KB/s:
nfscp -l 10 -r /path/to/dir ${NFS}:/nfs/
Copy remote NFS file hello.txt to local under /tmp directory:
nfscp ${NFS}:/nfs/hello.txt /tmp
If you need any help, feel free to open a new Issue.