Find all files with the extension .jpg in the root directory and execute the command sed to replace the content of the file with the content of the file surrounded by echo.
`find / -name '*.jpg' -exec sed -i 's/\(.*\)/echo "\1"/g' {} \+;`