shell script
#!/usr/bin/bash
a_root="$1"
for sub in $(ls $a_root); do
if [ -d ${a_root}/${sub} ]; then
./SubfileAbsPath.sh ${a_root}/${sub}
shell script
#!/usr/bin/bash
a_root="$1"
for sub in $(ls $a_root); do
if [ -d ${a_root}/${sub} ]; then
./SubfileAbsPath.sh ${a_root}/${sub}