find ./ -name 'pattern*' -exec sed -i 's|a/b/c|d/e/f|' {} \;