Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux replace string in files recursively

find . -type f -name "*.txt" -exec sed -i'' -e 's/foo/bar/g' {} +
Comment

recursively replace : to _ in file names linux

find -name "*foo*.filetype" -exec rename 's/foo/bar/' {} ";"
Comment

linux replace string in files recursively

find /home/www ( -type d -name .git -prune ) -o -type f -print0 | xargs -0 sed -i 's/subdomainA.example.com/subdomainB.example.com/g'
Comment

PREVIOUS NEXT
Code Example
Shell :: unable to locate package php-xmlrpc 
Shell :: count the pages of multiple pdf files in linux 
Shell :: import database via power shell 
Shell :: install capacitor ionic 
Shell :: commands for ssh 
Shell :: wsl terminate distro 
Shell :: print what s in tarball 
Shell :: monit network request in ubuntu 
Shell :: linux exploit database search commad 
Shell :: Windows 10 - Get a list of installed apps into a text file 
Shell :: veil framework install 
Shell :: raid 0 
Shell :: git remote branch 
Shell :: YAML - Basic Cheatsheet 
Shell :: prettier check 
Shell :: Scale fedora desktop size up 
Shell :: how do i close my virtual window which is created by screen command in linux 
Shell :: emulator android 
Shell :: delphes install 
Shell :: tgz terminal 
Shell :: MultipleObjectsReturned: get() returned more than one Question -- it returned 3! 
Shell :: ubuntu command to alt + f2 r 
Shell :: kill traffic to port linux 
Shell :: command not available after yarn add global linux 
Shell :: chromeos linux reboot 
Shell :: bash remove random files from directory 
Shell :: error: eaccess: permission denied ionic 
Shell :: new repository 
Shell :: get serial number for server using powreshell 
Shell :: change file creation metadata 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =