replace icon indicating copy to clipboard operation
replace copied to clipboard

replace: No to-string for last from-string

Open synapze opened this issue 9 years ago • 5 comments

The following command returns "replace: No to-string for last from-string"

replace 'Person' 'API.IPerson' . -r --include="*.ts"

According to the docs this should work. Any ideas?

synapze avatar Nov 13 '16 11:11 synapze

same

kilianc avatar Feb 20 '17 14:02 kilianc

Same here

caneta avatar Oct 23 '17 08:10 caneta

same. very annoying, simply doesnt work

benbyford avatar Feb 11 '20 16:02 benbyford

Hi everyone - I was able to get it working by running replace 'word1' 'word2' -- 'filename'. Was getting the same error if I didn't have a space between the -- and filename. Hope that helps.

castanaro avatar Jul 21 '22 18:07 castanaro

Hi everyone - I was able to get it working by running replace 'word1' 'word2' -- 'filename'. Was getting the same error if I didn't have a space between the -- and filename. Hope that helps.

Nice it's work for me.

NguyenTienDat avatar Oct 07 '22 03:10 NguyenTienDat