replace-in-file icon indicating copy to clipboard operation
replace-in-file copied to clipboard

Feature Request: save as new

Open mesqueeb opened this issue 5 years ago • 4 comments
trafficstars

I'd love to be able to set a toFiles option.

Eg.

const options = {
  files: 'path/to/files/*.html',
  toFiles: fileName => `new/path/${fileName}`
}

Cheers!!

mesqueeb avatar Jul 05 '20 06:07 mesqueeb

Look good =) I think that we need to look at gulp/grunt tasks for cases and api because it is "standard" https://www.npmjs.com/package/gulp-replace https://www.npmjs.com/package/grunt-replace

akaguny avatar Oct 06 '20 15:10 akaguny

@akaguny Would love this feature to save the new file content into a few file!

dbhat6 avatar Mar 19 '21 09:03 dbhat6

Is there still no option?

oliverjessner avatar May 31 '22 08:05 oliverjessner

No option to save to a new file yet, if anyone wants to open a PR I'll be happy to include it.

adamreisnz avatar May 28 '23 10:05 adamreisnz