The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 11-06-2001
thurrock thurrock is offline
Registered User
 

Join Date: Nov 2001
Posts: 2
Post File name extensions

Hello people, I was wondering if anyone could help me?

I want to produce a shell script that changes the filename extension on all matching file.

E.G. change all files called ‘something.rtf’ to ‘something.doc’ by giving the command:


Changex rtf doc

*where ‘Changex’ is the name of my shell script.

Does anyone know how to do this or know what ‘functions’ I should use???

with regards,
nick

Last edited by thurrock; 11-06-2001 at 05:54 PM..
Reply With Quote
Remove advertisements
!!
!! Forum Sponsor