LoginSignup
1
1

More than 5 years have passed since last update.

指定ディレクトリ以下の複数ファイル内にある文字列を一括置換

Posted at

例. hgoe → hoge としたい場合

grep -lr hgoe path/to/dir/ | xargs -r sed -i "s/hgoe/hoge/g"
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1