Re: Taking Backup of some files in a directory structure

2001-12-21 Thread John W. Krahn
Krish wrote: > > Hi, Hello, > I am a beginner in Perl and have a very trivial query. I have some .expect > files in my directory structure which are spread all throughout. I want to > convert these files (only expect files) to .expect.bak. Please let me know > as to how this can be done using

RE: Taking Backup of some files in a directory structure

2001-12-21 Thread Gary Hawkins
7;s send a man to Mars with Perl. [Shortest day of the year today, thank God it's over]. > -----Original Message----- > From: krish [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 21, 2001 12:08 AM > To: [EMAIL PROTECTED] > Subject: Taking Backup of some files in a directo

Re: Taking Backup of some files in a directory structure

2001-12-21 Thread Sudarsan Raghavan
Perl modules and functions that will be useful for this are File::Find (type perldoc File::Find at the command prompt) substr (perldoc -f substr) rindex (perldoc -f rindex) rename (perldoc -f rename) After you have read through these docs you will be able to figure out the perl script yourself. h

Taking Backup of some files in a directory structure

2001-12-21 Thread krish
Hi, I am a beginner in Perl and have a very trivial query. I have some .expect files in my directory structure which are spread all throughout. I want to convert these files (only expect files) to .expect.bak. Please let me know as to how this can be done using Perl script. Even pointers to shel