How to access directory names that contain spaces ?
I have a script, that is supposed to search for files in all directories. Here is the part of it
for filename in `ls` ; do
# Searching files
Above code will work fine for all directories that doesn't contain any spaces in their names. But when a directory that contains space in its name, can't be accessed as the name gets split.
Thanks in advance.