I am cleaning large git repository using BFG Repo-Cleaner. In particular, I want to remove a directory.
I do mirror clone as mentioned in https://rtyley.github.io/bfg-repo-cleaner/
I am using command java -jar bfg-1.13.0.jar --delete-folders FolderA <repo_path>
to delete the folder named "FolderA" throughout repository. I am concerned that if "FolderA" is in multiple locations e.g. /Path1/FolderA, /Path2/SubPath1/FolderA, and so forth, how do I specify to delete "FolderA" only in one of the paths?
Thanks