获取当前文件下的目录的子文件名字,拼接当前路径为新的路径,当前文件夹下面全部为文件没有目录。
for i in `ls`;do for j in $(ls ${i});do echo "https://xxxx.com/dashboard/static/${i}/${j}" ;done;done
时来天地皆同力,运去英雄不自由
for i in `ls`;do for j in $(ls ${i});do echo "https://xxxx.com/dashboard/static/${i}/${j}" ;done;done