Skip to content

Check setup order of file renaming and in-file replacements #6

Open
@matthias-mayr

Description

@matthias-mayr

The readme suggest:

# Rename inside files
git grep -l 'template' | xargs sed -i 's/template/my_package_name/g'
# Rename files
find . -depth -execdir rename 's/template/my_package_name/' '{}' \;

unfortunately a consequence of this is that the Readme itself gets altered and one can not just copy the other command.

It would be worthwhile to check if the order can be reversed. That would still alter the readme, but then we don't need the command anymore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions