Hi can some one help with my problem
i have a script which search for the files in the directory and download it to our directroy and it has sleep to repeat the process againg after 1 hour.it compares the file in source directory , if it is not there then down load it our directory
all the comparision i am doing by grep /^$newFiles[$file2verify]/, @{$destifiles[0]}
but grep is failing when it find the following files
1)New Text Document.txt
2)New Text Document (3).txt
it is dowanloading New Text Document (3).txt for every iterations though it is already downloaded .
my guess is it failing because of (3)in the file name
can any one help me to over come this...
thanking in advance
kiran