FeaturesWP CloudPricingEE CLIContactMy Account

Features

Team Access & User Permissions

Server Setup & Management

Site Creation & Management

Deployments & Developer Tools

Firewall Protection

Speed & Caching

Backups & Recovery

Logs & Monitoring

Create WP Cloud Sites

All Features

Read Documentation

Install

Installation Guide

FAQ

Roadmap

Explore EE CLI

Resources

Commands

Handbook

Blog

Community

Forum

EasyExperts

Tutorials

Subscribe

Github

CLEAR

Start For Free

separator Tutorials separator Linux separator Using find and sed to replace strings in multiple files

Topics

On this page

Using find and sed to replace strings in multiple files

This is self-explanatory!


			find . -type f -exec sed -i 's/oldstr/newstr/g' {} ;
		

We used to replace ‘/wp-content/uploads’ with ‘/files’ while merging single wordpress-sites into a big multisite setup.


			find . -type f -exec sed -i 's/\/wp-content\/uploads/\/files/g' {} ;
		

For more details

Upgrade Ubuntu 10.04 to 12.04

PREVIOUS

Webmin

NEXT


Features

Useful Links

Product

Other Products

Subscribe for curated product updates, tips, and announcements.

"*" indicates required fields

URL

This field is for validation purposes and should be left unchanged.

Email*

SIGN ME UP

Δ


© rtCamp, since 2009. All rights reserved.

Powered by