thiagowfx's avatar

¬ just serendipity 🍀 (not just serendipity)

Rename files in bulk (cont)

• 46 words • 1 min • updated

⚠️ This post is over one year old. It may no longer be up to date or relevant. Opinions may have changed.

Deeper into the rabbit hole:

shell
% fd Dockerfile.dockerignore | xargs -n 1 rename 's/Dockerfile\.dockerignore/.dockerignore/'

The pre-commit identify library currently mistags these files as Dockerfiles, even though they are not1, which creates all sorts of issues.


  1. They are akin to .gitignore files in terms of structure. ↩︎