in reply to Re: file comparison
in thread file comparison
Remember that readdir only gives file names and you have to add the path... Your code:opendir(DIR, $RemoteSubDirectory); my @rFileCheck = grep {-f $RemoteSubDirectory/$_ }readdir(DIR);
opendir(DIR, $RemoteSubDirectory); my @rFileCheck = readdir(DIR); closedir(DIR);
|
|---|