AvianFlu / ncp

Asynchronous recursive file copying with Node.js.
MIT License
681 stars 103 forks source link

Error: UNKNOWN, unlink #59

Open fresheneesz opened 10 years ago

fresheneesz commented 10 years ago

I'm getting the error "UNKNOWN, unlink" after switching to piping files to copy them. It looks like ncp might vomit if the file is currently already open.

fresheneesz commented 10 years ago

I figured out what was going on. I had duplicate NCP copies going at the same time. UNKNOWN, unlink must indicate that the file can't be deleted because it no longer exists? I feel like that shouldn't be an error, but it should accept that "hey someone deleted it for me, how convenient".