Closed josephsong closed 9 years ago
For deep structures, the createReadStream method fails when presented with ./path/to/image.png but works with path/to/image.png. That reflects the example in the Node docs: http://nodejs.org/api/fs.html#fs_fs_createreadstream_path_options
I came across this when trying to apply the (really great) tool recursively to my WordPress uploads directory, which is a few levels deep (eg. uploads/2015/01/image.png).
For deep structures, the createReadStream method fails when presented with ./path/to/image.png but works with path/to/image.png. That reflects the example in the Node docs: http://nodejs.org/api/fs.html#fs_fs_createreadstream_path_options
I came across this when trying to apply the (really great) tool recursively to my WordPress uploads directory, which is a few levels deep (eg. uploads/2015/01/image.png).