Folks, here is my code:
I am a serious newbie, why doesn't this make copies of my files? I dont get any errors, the files are just not created.
Your help is appreciated
#!/usr/bin/perl
use File::Copy;
$PWD = `pwd`;
$REPORTDIR = "/usr/local/tripwire/tfs/report";
chdir $REPORTDIR;
for (`ls /usr/local/tripwire/tfs/report | grep 2007`)
{
copy("$_","copyfile-$_");
}