#!/bin/bash
function ergodic(){
for file in ` ls $1 `
do
if [ -d $1"/"$file ]
then
ergodic $1"/"$file
else
echo $1"/"$file
fi
done
}
INIT_PATH="/data/beeae_dev"
ergodic $INIT_PATH
#!/bin/bash
function ergodic(){
for file in ` ls $1 `
do
if [ -d $1"/"$file ]
then
ergodic $1"/"$file
else
echo $1"/"$file
fi
done
}
INIT_PATH="/data/beeae_dev"
ergodic $INIT_PATH