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.
-
They are akin to
.gitignorefiles in terms of structure. ↩︎