//preg_replace needle/replace in an archivfind archiv/ -name '*.h' | xargs perl -pi -e 's/needle/replace/g'