(shell)show all the files in one path

# cat  aaa-ls.sh
yourfilenames=`ls ./*.jpg`
for eachfile in $yourfilenames
do
   echo $eachfile
done

  

posted on 2018-01-23 16:27  cdekelon  阅读(139)  评论(0编辑  收藏  举报

导航