Effortlessly transfer files and folders, to and from your NFS server.
MIT License
NCP offers a user-friendly solution for efficiently transferring files and folders between your local machine and the NFS server without mounting the volume. It enables seamless recursive upload and download operations, supporting both NFS v3 and NFS V4 protocols.
# DEB
export NCP_VERSION="0.1.1"
wget -q https://github.com/kha7iq/ncp/releases/download/v${NCP_VERSION}/ncp_amd64.deb
sudo dpkg -i ncp_amd64.deb
# RPM
sudo rpm -i ncp_amd64.rpm
yay -S ncp-bin
pamac install ncp-bin
choco install ncp
scoop bucket add ncp https://github.com/kha7iq/scoop-bucket.git
scoop install ncp
By default, ncp is going to be installed at /usr/bin/
. Sudo privileges are required for this operation.
If you would like to provide a custom install path, you can do so as an input to the script.
For example, you can run ./install.sh $HOME/bin
to install ncp in the specified directory.
curl -s https://raw.githubusercontent.com/kha7iq/ncp/master/install.sh | sudo sh
or
curl -sL https://bit.ly/installncp | sudo sh
brew install kha7iq/tap/ncp
# Chose desired version
export NCP_VERSION="0.1.1"
wget -q https://github.com/kha7iq/ncp/releases/download/v${NCP_VERSION}/ncp_linux_amd64.tar.gz && \
tar -xf ncp_linux_amd64.tar.gz && \
chmod +x ncp && \
sudo mv ncp /usr/local/bin/.
Alternatively you can head over to release pages and download binaries for all supported platforms.
Docker container is also available on both dockerhub and github container registry.
latest
tag will always pull the latest version available.
docker pull khaliq/ncp:latest
docker pull ghcr.io/kha7iq/ncp:latest
docker run khaliq/ncp:latest
To copy the _local/src
folder to the NFS server with the IP address 192.168.0.80
and the NFS path data
, use the following command:
ncp to --input _local/src --nfspath data --host 192.168.0.80
ncp v4to --input _local/src --nfspath data --host 192.168.0.80
See Usage Documentation for more details
Contributions, issues and feature requests are welcome!Feel free to check issues page. You can also take a look at the contributing guide.
If you encounter any problems or have suggestions for improvements, please open an issue on GitHub.
NCP is licensed under the MIT License. Please note that it may use third-party libraries that have their own separate licenses. Refer to the individual licenses of those libraries for more information.