LoginSignup
0
0

More than 5 years have passed since last update.

bashメモ

Posted at

適当に追加していく感じで。

ファイル名を置換してコピー

for file in `find . ! -name '.'`;do \
cp $file `echo $file | sed -e "s/置換対象の正規表現/置換する文字列/g"`; \
done

メモ:カレントディレクトリのみ対象

0
0
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
0
0