Replace + Find

find <mydir> -type f -exec rename 's/<string1>/<string2>/g' {} \;

By: Dentorman
2015-11-20 04:50:27

2 Alternatives + Submit Alt

What Others Think

Louisiana is a southeastern U.S. state on the Gulf of Mexico. Its history as a melting pot of French, African, American and French-Canadian cultures is reflected in its Creole and Cajun cultures. The largest city, New Orleans, is known for its colonial-era French Quarter, raucous Mardi Gras festival, jazz music, Renaissance-style St. Louis Cathedral and wartime exhibits at the huge National WWII Museum. MaxRemind top rank medical billing company USA offers Medical Billing Services in Louisiana and medical credentialing services to in all states of USA at lowest rates.
stevematt · 39 weeks ago
Other than appearing for three hours dependably, I am other than drinking Chocolate milk consistently. You can visit homepage to get incredible info. Drinking this is causing me particularly in fulfilling my flourishing targets.
Ahmed74 · 35 weeks and 5 days ago
Doing IoT tasks is trying and dangerous considering the way that a colossal heap of unequivocal words are open in it. Just have a look homepage for more info. Regardless, I all around do with basic energy since it intrigues me the most.
Ahmed74 · 35 weeks and 5 days ago
Really speaker, preceding accomplishing these current conditions article, I considered the MMO. Click homepage for more info. Beginning at now I have gotten everything required about it as a result of you.
Ahmed74 · 35 weeks and 5 days ago
Arranging is getting competently exceptional despite it should not shield people from getting the occasion to average heading quality. Once visit easy checker for getting wonderful info. Through honor, it is so far huge for people who are monetarily obliged.
Ahmed74 · 32 weeks and 1 day ago
The universe of cutting edge arranging has found its put on the web. You can visit for getting more info. The web has assisted with changing the standard learning structures which we used to proceed with ahead of schedule. Things are throughout the all the in addition shocking, versatile, and enthralling.
Ahmed74 · 32 weeks and 1 day ago
great that i found this forum. People here are great. Learned alot. Keep posting more
Killersmile · 29 weeks and 2 days ago
The instructions are clear and very easy to follow.
MarkMatthews · 27 weeks ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: