Home: Perl Programming Help: Beginner:
strange behavior in perl-Unix


Apr 16, 2009, 6:27 AM

Views: 387
strange behavior in perl-Unix

Below is the snippet of my code where I am trying to copy files from one linux machine to another named szvmws003. I used scp to acheve that.

`scp -r /home/dummy/kdb/szvmws003 szvmws003:/tmp`

scp: /tmp/szvmws003: Not a directory

I am trying to understand why is the script looking for "/tmp/szvmws003" when not in the script. Please help!


Apr 16, 2009, 6:46 AM

Views: 386
Re: [tadi18] strange behavior in perl-Unix

It doesn't look like a problem with Perl. Try to execute this command in terminal and then post it's reply here. In addition, is there are any symbolic links which may point to /tmp/szvmws003?