myFolder |_ text file one.txt |_ text file two.txt |_ text file three.txt
ls myFolder/* | sed 's/ /\\ /g'
myFolder/text\ file\ one.txt myFolder/text\ file\ two.txt myFolder/text\ file\ three.txt