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.
hth, Sudarsan krish wrote: > 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 shell > scripting will help. > Thanks > K.Srinivas > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]