FOLDER="newmix" SEGMENTS=$(ls $FOLDER/seg-2-a1.ts.ogg) #echo $SEGMENTS for SEGMENT in $SEGMENTS; do echo "
$SEGMENT
" done