fumoFileText=$(find fumo | grep -i .gif) echo "$fumoFileText" > "fumoFile"