The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-05-2007
KeesH KeesH is offline
Registered User
 

Join Date: Feb 2007
Posts: 41
Editing multiple file names in one go

Hi there,

I have a folder full of pdf's and I've run a compression on the to reduce the size, the output of the compress places a '-o' in the name of the file.

Before 12345.pdf
After 12345-o.pdf

Now I've got around 50000 files that I need to change back to the previous name, is there a script that can be used to do this?

Any help is much appriciated.

Regards
Kees
Reply With Quote
Forum Sponsor