Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Renaming files - large batch
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
StompinRound
n00b
n00b


Joined: 13 Jun 2004
Posts: 43
Location: Oklahoma USA

PostPosted: Sun Sep 19, 2004 8:52 pm    Post subject: Renaming files - large batch Reply with quote

is there a way to search an entire had drive and replace all items containing one name with another

such as gnetoo to gentoo?
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Sun Sep 19, 2004 8:58 pm    Post subject: Reply with quote

Assuming you know the name:

Code:
mv *$OLD* *$NEW*


should do just fine.

For more complex situations try:
Code:
man find
man xargs

_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum