sindresorhus

copy-file

Copy a file

by sindresorhus

JavaScript

JavaScript95.5%
TypeScript4.5%

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
spidgorny

The way my Samba share is mounted I can copy the files, but changing utime is not permitted. This leads to error. I'd like to ask for an option to disable calling after copying. This may be related to #22 but instead of I need disabled.

spidgorny · 1y ago
maxhub-fe

stack: $ node index.js { NestedError: Cannot create directory : EPERM: operation not permitted, mkdir 'D:\' at makeDir.catch.error (d:\code\tset\node_modules\cp-file\fs.js:82:8) Caused By: Error: EPERM: operation not permitted, mkdir 'D:\' nested: { Error: EPERM: operation not permitted, mkdir 'D:\' errno: -4048, code: 'EPERM', syscall: 'mkdir', path: 'D:\\' }, errno: -4048, code: 'EPERM', syscall: 'mkdir', path: 'D:\\', name: 'CpFileError' } I found that it was 'make-dir' cause error mkdir @sindresorhus help plz !!!

maxhub-fe · 1y ago
Structured data for AI agents

Repository: sindresorhus/copy-file. Description: Copy a file Stars: 123, Forks: 23. Primary language: JavaScript. Languages: JavaScript (95.5%), TypeScript (4.5%). License: MIT. Latest release: v11.1.0 (1y ago). Open PRs: 0, open issues: 0. Last activity: 2mo ago. Community health: 85%. Top contributors: sindresorhus, schnittstabil, coreyfarrell, jopemachine, BendingBender, kevva, YurySolovyov, fitiskin, boneskull, feross and others.