LoginSignup
6
7

More than 1 year has passed since last update.

Mac でファイル一括置換

Last updated at Posted at 2014-06-12

完全に受け売りですが、こんな感じで GNU sed を使う。

この作業は

find . -name '*.md*' | xargs sed -i 's/\/develop\//\/1.1.x\//g'

な感じで。

・・と master もなくなっていたのを忘れていて、再 commit(ダサい..)

find . -name '*.md*' | xargs sed -i 's/\/master\//\/1.1.x\//g'
6
7
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
6
7