LinuxDave

Life, Linux and Crazy Videos

Archive for December 21st, 2005

Find and Replace multiple Unix/Linux Files

Posted: Wednesday, December 21st, 2005 @ 4:21 pm in Linux | 1 Comment »

Need to do some substitution on multiple files? Try this command:
find ./ -type f -exec sed -i ’s/findme/replacewithme/’ {} \;