wz.wang | 6c46070 | 2024-07-01 10:20:35 +0800 | [diff] [blame] | 1 | if [ $# -ne 2 ];then |
2 | echo example : ./file_touch.sh lynq/CPE ap/Makefile | ||||
3 | echo Create the lynq/CPE/ap/ directory and copy the ap/Makefile file to the lynq/CPE/ap/ directory | ||||
4 | exit | ||||
5 | fi | ||||
6 | str=$1/$(dirname $2) | ||||
7 | echo $str/$(basename $2) | ||||
8 | mkdir -p $str | ||||
9 | cp $2 $str |