GitShow/sindresorhus/cpy-cli
sindresorhus

cpy-cli

Copy files

by sindresorhus
Star on GitHubForknpm

JavaScript

360 stars35 forks12 contributorsQuiet · 5mo agoSince 2016v7.0.0MIT

Meet the team

See all 12 on GitHub →
sindresorhus
sindresorhus35 contributions
deining
deining1 contribution
DrewML
DrewML1 contribution
andy2mrqz
andy2mrqz1 contribution
antongolub
antongolub1 contribution
jopemachine
jopemachine1 contribution
kevva
kevva1 contribution
mfal
mfal1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
KenticoDevTrev
--cwd does not workClosedIssue

@sindresorhus Howdy, I'm hoping since this has been fixed in the past it will be a quick fix. using Version 7, this command works, but at the destination it becomes: 'src/physicsclassroom/wwwroot/js/individual/scripts/mathjax-bundle/node_modules/@mathjax/src/bundle' When i add try this: It says: Please help :)

KenticoDevTrev · 3mo ago
jafin
npx cpy-cli --nooverwrite produces an error when file exists. Expected skipClosedIssue

Platform When I execute it returns the error Issuing the command without --no-overwrite works fine (but the file is overwritten) Expected when setting the parameter it should continue without error even if the file exists. My Misunderstanding of purpose? I found the test for cpy, it appears it is expected that overwrite:false will throw an exception? If so is there any way to 'skip/ignore' existing files similar to how the non async approach appears to work? EDIT: reading cp-file code, if I understand async copy overwrite false will throw an exception, but sync copy overwrite will not. If that is correct, then this was just a misunderstanding, please close the issue.

jafin · 5mo ago
dougg0k
Add "slice a path off the bottom of the paths" supportClosedIssue

Hey, Could you add the flag functionality found in https://github.com/calvinmetcalf/copyfiles ?? Thanks

dougg0k · 5mo ago
Structured data for AI agents

Repository: sindresorhus/cpy-cli. Description: Copy files Stars: 360, Forks: 35. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v7.0.0 (5mo ago). Open PRs: 0, open issues: 0. Last activity: 5mo ago. Community health: 85%. Top contributors: sindresorhus, deining, DrewML, andy2mrqz, antongolub, jopemachine, kevva, mfal, Richienb, SamVerschueren and others.

·@ofershap

Replace github.com with gitshow.dev