ryanmcgrath / wrench-js

Recursive file operations in Node.js
MIT License
435 stars 71 forks source link

copyDirSyncRecursive() seems to choke on paths wrapped in double quotes #25

Closed tonylukasavage closed 12 years ago

tonylukasavage commented 12 years ago

The safest way to make sure spaces in paths are handled is to wrap the path in double quotes. If I wrap a path in double quotes and pass it to copyDirSyncRecursive(), I get an error that says the wrapped path does not exist. If I remove the double quotes, everything works as expected. It would be nice if wrench handled double quote wrapped paths.

ryanmcgrath commented 12 years ago

As in, something like "My Documents" doesn't work?

tonylukasavage commented 12 years ago

yeah, in my particular case, its this on mac:

~/Library/Application Support/BLAHBLAHBLAH

ryanmcgrath commented 12 years ago

Mmm, any chance you have some sample code laying around for this? I can't seem to reproduce it; using Node v0.6.14.

ryanmcgrath commented 12 years ago

I... still cannot reproduce this, seven months later. Closing this - if it's still an issue, it can be re-opened.