Re: Copy and rename files

2005-04-20 Thread JupiterHost.Net
Brian Milbrandt wrote: Please dont' top post :) I appreciate the help, is there a way to do it by taking the source and target directory's as command line arguments? that is how the unix script is written that I am trying to convert. my $source = $ARGV[0]; my $target = $ARGV[1]; may want to add

Re: Copy and rename files

2005-04-20 Thread Brian Milbrandt
: Wednesday, April 20, 2005 3:14 PM Subject: Re: Copy and rename files A correction to the code for 1 line below :-( Chris Hello Brian, I did what you wanted to do on my computer, (Windows XP). The code is pasted below, followed by some explanations. You should be able to get the same results b

Re: Copy and rename files

2005-04-20 Thread Chris Charley
A correction to the code for 1 line below :-( Chris Hello Brian, I did what you wanted to do on my computer, (Windows XP). The code is pasted below, followed by some explanations. You should be able to get the same results by plugging in abc and xyz where I had html and txt. Also, with source a

Re: Copy and rename files

2005-04-20 Thread Chris Charley
- Original Message - From: "Brian Milbrandt" <[EMAIL PROTECTED]> Newsgroups: perl.beginners To: Sent: Tuesday, April 19, 2005 6:22 PM Subject: Copy and rename files I am trying to convert a unix script to perl. The script takes 2 command line arguments, source and targ

Re: Copy and rename files

2005-04-19 Thread Brian Milbrandt
ot;Brian Milbrandt" <[EMAIL PROTECTED]>; Sent: Tuesday, April 19, 2005 5:31 PM Subject: RE: Copy and rename files Wagner, David --- Senior Programmer Analyst --- WGO wrote: Brian Milbrandt wrote: I am trying to convert a unix script to perl. The script takes 2 command line arguments, sour

RE: Copy and rename files

2005-04-19 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Wagner, David --- Senior Programmer Analyst --- WGO wrote: > Brian Milbrandt wrote: >> I am trying to convert a unix script to perl. The script takes 2 >> command line arguments, source and target. I am unable to get the >> file copy and rename function working properly. Here is what I have >> t

RE: Copy and rename files

2005-04-19 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Brian Milbrandt wrote: > I am trying to convert a unix script to perl. The script takes 2 > command line arguments, source and target. I am unable to get the > file copy and rename function working properly. Here is what I have > that is not working properly. > > $target is the target direct

Copy and rename files

2005-04-19 Thread Brian Milbrandt
I am trying to convert a unix script to perl. The script takes 2 command line arguments, source and target. I am unable to get the file copy and rename function working properly. Here is what I have that is not working properly. $target is the target directory variable $source is the source d