The UNIX and Linux Forums  

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


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
rename files help piltrafa UNIX for Dummies Questions & Answers 2 10-04-2007 06:47 AM
How to learn the number of files under a particular folder, containing subfolders cy163 UNIX for Dummies Questions & Answers 5 09-01-2007 07:55 AM
Basic Q: getting list of all files of type within folder & subfolders AtomicPenguin UNIX for Dummies Questions & Answers 1 07-28-2007 03:43 AM
rename many files fsmadi SUN Solaris 4 04-30-2007 08:27 AM
rename files mpang_ Shell Programming and Scripting 2 11-01-2006 10:17 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 09-19-2005
Registered User
 

Join Date: Aug 2005
Posts: 229
rename files in subfolders

Hello
i have this script :

foreach f ($1/*.cpp )
mv $f $f:r.c
end

that renames me files in dir , how can i change it so it will rename me
also in subdirectorys?
thanks
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:13 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0