I have a folder, its name is:
drwxr-xr-x. 2 user user 4096 Aug 2 18:30 folder name [www.website.com] but when I use the glob like this:
my @files = glob ("/home/user/Downloads/folder name [www.website.com]/*"); print "@files\n"; it does not list the files in the directory, the result is the following:
/home/user/Downloads/folder name I have tried escaping the whitespaces and the square brackets like this:
/home/user/Downloads/folder\ name\ \[www.website.com\] But the result is the same, What could be my mistake or What could do to improve my code?
Thanks in advance