The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Editing multiple file names in one go
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Forum Rules
FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
Editing multiple file names in one go
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
10-06-2007
matrixmadhan
Technorati Master
Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,572
Code:
ls *o.pdf | while read file do mv "$file" `echo $file | sed 's/-o//'` done
matrixmadhan
View Public Profile
Find all posts by matrixmadhan