Linux Logo

Find And Replace On All Files In And Below A Directory

9th October 2008 - 1 minute read time

The following shell command uses the find function to find all files in or below the current directory that have the extension php. It then passes each file found onto a sed command which then replaces all with the longer