{"id":15651395,"url":"https://github.com/kha7iq/ncp","last_synced_at":"2025-04-30T19:47:02.348Z","repository":{"id":167889784,"uuid":"642772754","full_name":"kha7iq/ncp","owner":"kha7iq","description":"Effortlessly transfer files and folders, to and from your NFS server.","archived":false,"fork":false,"pushed_at":"2025-01-24T10:07:26.000Z","size":1672,"stargazers_count":36,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T19:23:00.819Z","etag":null,"topics":["cli","golang","ncp","nfs","nfsv3","transfer"],"latest_commit_sha":null,"homepage":"https://ncp.lmno.pk","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kha7iq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-19T10:06:54.000Z","updated_at":"2025-03-21T08:45:15.000Z","dependencies_parsed_at":"2024-01-03T04:14:36.756Z","dependency_job_id":"6c5a6972-e6f1-4c4d-b9f7-47aea543f13f","html_url":"https://github.com/kha7iq/ncp","commit_stats":null,"previous_names":["kha7iq/ncp"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kha7iq%2Fncp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kha7iq%2Fncp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kha7iq%2Fncp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kha7iq%2Fncp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kha7iq","download_url":"https://codeload.github.com/kha7iq/ncp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251773773,"owners_count":21641694,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","golang","ncp","nfs","nfsv3","transfer"],"created_at":"2024-10-03T12:38:14.189Z","updated_at":"2025-04-30T19:47:02.328Z","avatar_url":"https://github.com/kha7iq.png","language":"Go","funding_links":[],"categories":["Files and Directories"],"sub_categories":["File Sync/Sharing"],"readme":"\u003ch2 align=\"center\"\u003e\n  \u003cp align=\"center\"\u003e\u003cimg width=30% src=\"./.github/img/logo.png\"\u003e\u003c/p\u003e\n\u003c/h2\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"GitHub Build Status\" src=\"https://img.shields.io/github/actions/workflow/status/kha7iq/ncp/build.yml?label=Build\"\u003e\n   \u003ca href=\"https://github.com/kha7iq/ncp/releases\"\u003e\n   \u003cimg alt=\"Release\" src=\"https://img.shields.io/github/v/release/kha7iq/ncp?label=Release\"\u003e\n   \u003ca href=\"https://goreportcard.com/report/github.com/kha7iq/ncp\"\u003e\n   \u003cimg alt=\"Go Report Card\" src=\"https://goreportcard.com/badge/github.com/kha7iq/ncp\"\u003e\n   \u003ca href=\"#\"\u003e\n    \u003ca href=\"https://github.com/agarrharr/awesome-cli-apps#file-syncsharing\"\u003e\n   \u003cimg alt=\"Awesome\" src=\"https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg\"\u003e\n   \u003ca href=\"https://github.com/kha7iq/ncp/issues\"\u003e\n   \u003cimg alt=\"GitHub issues\" src=\"https://img.shields.io/github/issues/kha7iq/ncp?style=flat-square\u0026logo=github\u0026logoColor=white\"\u003e\n   \u003ca href=\"https://github.com/kha7iq/ncp/blob/master/LICENSE\"\u003e\n   \u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/kha7iq/ncp\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://ncp.lmno.pk\"\u003eDocumentation\u003c/a\u003e •\n  \u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e •\n  \u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e •\n  \u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e •\n  \u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e •\n\u003c/p\u003e\n\n# NCP (NFS Copy)\n\nNCP offers a user-friendly solution for efficiently transferring files and folders between your local machine\nand the NFS server without mounting the volume. It enables seamless recursive upload and download operations, supporting both NFS v3 and NFS V4 protocols.\n\n\n## Features\n- :sparkles: Support for NFS **v3** and NFS **v4**\n- Easy file transfer to and from an NFS server without mounting volume.\n- Multi-architecture binaries available for installation (e.g deb, apk, rpm, exe)\n- Compatible with Windows and macOS operating systems\n- Option to specify UID and GID for write operations using a global flag\n- Display upload and download speeds, file size and elapsed time for write operations.\n- Copy a Single file or recursively copy an Entire folder.\n\n\u003cimg alt=\"NCP\" src=\"./.github/img/ncp.gif\" width=\"800\" /\u003e\n\n\n## Installation\n\n\n\u003cdetails\u003e\n    \u003csummary\u003eLinux\u003c/summary\u003e\n\n```bash\n# DEB\nexport NCP_VERSION=\"0.1.1\"\nwget -q https://github.com/kha7iq/ncp/releases/download/v${NCP_VERSION}/ncp_amd64.deb\nsudo dpkg -i ncp_amd64.deb\n# RPM\nsudo rpm -i ncp_amd64.rpm\n```\n- AUR\n```bash\nyay -S ncp-bin\n\npamac install ncp-bin\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n    \u003csummary\u003eWindows\u003c/summary\u003e\n\n- Chocolatey\n```bash\nchoco install ncp\n```\n- Scoop\n```bash\nscoop bucket add ncp https://github.com/kha7iq/scoop-bucket.git\nscoop install ncp\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n    \u003csummary\u003eBash Install Script\u003c/summary\u003e\n\n\nBy default, ncp is going to be installed at `/usr/bin/`. Sudo privileges are required for this operation.\n\nIf you would like to provide a custom install path, you can do so as an input to the script. \nFor example, you can run `./install.sh $HOME/bin` to install ncp in the specified directory.\n\n```bash\ncurl -s https://raw.githubusercontent.com/kha7iq/ncp/master/install.sh | sudo sh\n```\nor\n```bash\ncurl -sL https://bit.ly/installncp | sudo sh\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n    \u003csummary\u003eMacOS\u003c/summary\u003e\n\n```bash\nbrew install kha7iq/tap/ncp\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n    \u003csummary\u003eManual\u003c/summary\u003e\n\n```bash\n# Chose desired version\nexport NCP_VERSION=\"0.1.1\"\nwget -q https://github.com/kha7iq/ncp/releases/download/v${NCP_VERSION}/ncp_linux_amd64.tar.gz \u0026\u0026 \\\ntar -xf ncp_linux_amd64.tar.gz \u0026\u0026 \\\nchmod +x ncp \u0026\u0026 \\\nsudo mv ncp /usr/local/bin/.\n```\n\u003c/details\u003e\n\nAlternatively you can head over to [release pages](https://github.com/kha7iq/ncp/releases)\nand download binaries for all supported platforms.\n\n## Docker\n\nDocker container is also available on both dockerhub and github container registry.\n\n`latest` tag will always pull the latest version available.\n\u003cdetails\u003e\n    \u003csummary\u003eDocker\u003c/summary\u003e\n\n```bash\ndocker pull khaliq/ncp:latest\n```\n```bash\ndocker pull ghcr.io/kha7iq/ncp:latest\n```\n\n- Run\n\n```bash\ndocker run khaliq/ncp:latest\n```\n\u003c/details\u003e\n\n## Usage\n\n### Copying Files/Folders to NFS Server\n\nTo 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:\n\n- NFS v3\n```bash\nncp to  --input _local/src --nfspath data --host 192.168.0.80\n```\n- NFS v4\n```bash\nncp v4to --input _local/src --nfspath data --host 192.168.0.80\n```\nSee [Usage Documentation](https://ncp.lmno.pk/02-usage/) for more details\n\n## Contributing\n\nContributions, issues and feature requests are welcome!\u003cbr/\u003eFeel free to check\n[issues page](https://github.com/kha7iq/ncp/issues). You can also take a look\nat the [contributing guide](https://github.com/kha7iq/ncp/blob/master/CONTRIBUTING.md).\n\n## Issues\n\nIf you encounter any problems or have suggestions for improvements, please [open an issue](https://github.com/username/repo/issues) on GitHub.\n\n### License\n\nNCP 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkha7iq%2Fncp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkha7iq%2Fncp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkha7iq%2Fncp/lists"}