fs-utils icon indicating copy to clipboard operation
fs-utils copied to clipboard

copyFileSync for swf file

Open sea5kg opened this issue 9 years ago • 2 comments

when I try

fs_utils.copyFileSync('./src/video-js.swf', './dist/video-js.swf'); I got diff md5 and size of files. For experiments you can use: https://github.com/videojs/video-js-swf/blob/master/dist/video-js.swf

sea5kg avatar Apr 28 '16 08:04 sea5kg

Solution, which help me: fs.createReadStream('./src/video-js.swf').pipe(fs.createWriteStream('./dist/video-js.swf'));

sea5kg avatar Apr 28 '16 08:04 sea5kg

we should probably just swap in a module like [copy](https://github.com/jonschlinkert/copy] for this. thanks for the issue

jonschlinkert avatar Apr 28 '16 20:04 jonschlinkert