Find and Replace in a Large File

前端 未结 5 1824
时光取名叫无心
时光取名叫无心 2021-02-09 15:52

I want to find a piece of text in a large xml file and want to replace with some other text. The size of the file is around ( 50GB). I want to do this in command line. I am look

5条回答
  •  忘了有多久
    2021-02-09 16:05

    The escape character in powershell strings is the backtick ( ` ), not backslash ( \ ). I'd give an example, but the backtick is also used by the wiki markup. :(

    The only thing you should have to escape is the quotes - the periods and such should be fine without.

提交回复
热议问题