658 B
658 B
Extension Command Test Data
This directory contains sample files for manual and automated validation of the
renamer extension workflow. To avoid mutating source fixtures directly, copy
the sample/ folder to a temporary location before running commands that
perform real filesystem changes.
Example usage:
TMP_DIR=$(mktemp -d)
cp -R testdata/extension/sample/* "$TMP_DIR/"
go run ./main.go extension .jpeg .JPG .jpg --path "$TMP_DIR" --dry-run
The sample set includes:
- Mixed-case
.jpeg/.JPGextensions - Nested directories (
sample/nested) - An already-normalized
.jpgfile - A hidden file to verify
--hiddenopt-in behavior