James Parsons wrote:
> Ok here go's again.
> 
> 
> I have  anywhere from 1 - 15 files in a directory, and  I could have
> up to 5 files with the same header record. and the  rest have
> different header records. So what I would like to  is
> 
>  read each file and when there's a match rename that file to
> something else 
> 
>  example
>  filea's header record =  TORONTO   then rename filea to File.001
>  and when it reads fileb and it has the same header record then
> rename fileb to file.002..
> 
> Is too simple for Perl?
> 
> thanks
> James

        Are you going to keep the renamed files in the same directory or
different? I know you show filea to file.001, but will the files be in the
format of file? and the rename files file.nnn?

        A little more info would be helpful.

Wags ;)


**********************************************************
This message contains information that is confidential
and proprietary to FedEx Freight or its affiliates.
It is intended only for the recipient named and for
the express purpose(s) described therein.
Any other use is prohibited.
****************************************************************


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • Perl Script James Parsons
    • Wagner, David --- Senior Programmer Analyst --- WGO

Reply via email to