Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 358 Bytes

File metadata and controls

18 lines (11 loc) · 358 Bytes

shell-script-replace

Replacing the old name with the new name of all the files and their content and the directories in a directory using shell script

image shell-script-replace

Usage

Define the directory path

directory="./src"

Define the old and new strings

old_string="website.com"
new_string="another.org"