path=`pwd`
cd ${path}
for i in `ls ./*gz`
do
path_01=`ls -l --color=auto $i | awk '{print $11}' `
path_02=`ls -l --color=auto ${path_01} | awk '{print $11}' `
rm $i
ln -s "/XJ"$path_02 $i
done
path=`pwd`
cd ${path}
for i in `ls ./*gz`
do
path_01=`ls -l --color=auto $i | awk '{print $11}' `
path_02=`ls -l --color=auto ${path_01} | awk '{print $11}' `
rm $i
ln -s "/XJ"$path_02 $i
done
本文标题:获得二层链接
本文链接:https://www.haomeiwen.com/subject/vbppektx.html
网友评论