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. ↩︎