Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- read cntst_name
- #絶対パスのがいいかも
- templete_path="$HOME/hxs/testdir/code/templete.cpp"
- mkdir $cntst_name
- cd $cntst_name
- touch a.cpp
- touch b.cpp
- touch c.cpp
- touch d.cpp
- touch e.cpp
- ls |while read LINE;do
- cat $templete_path > $LINE
- done
- #code って打ったらこのフォルダを開いた気がするけど一応
- ls |while read LINE;do
- #codeで開くコマンド ここはわからん
- #code $LINE
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement