[ubuntu]批量ln

2017-5-4 写技术

for file in `ls arm-*`
do
#ln -s $file ${$file/arm-unknown-linux-gnueabi/arm-linux};
ln -s $file ${file/arm-unknown-linux-gnueabi/arm-linux}
done

标签: ubuntu

发表评论:

Powered by anycle 湘ICP备15001973号-1