Skip to content

nfscp is a tool to transfer files between host and a NFS(Network File System) directly without mount.

Notifications You must be signed in to change notification settings

zhengtianbao/nfscp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

nfscp is a tool to transfer files between host and a NFS(Network File System) directly without MOUNT(8).

Features

  • 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

Installation

To install type (in the folder that contains the Makefile):

make build

The target binary will be at _output/bin/$ARCH/nfscp.

Example usage

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

Help

If you need any help, feel free to open a new Issue.

About

nfscp is a tool to transfer files between host and a NFS(Network File System) directly without mount.

Resources

Stars

Watchers

Forks