rtyley / bfg-repo-cleaner

Removes large or troublesome blobs like git-filter-branch does, but faster. And written in Scala
https://rtyley.github.io/bfg-repo-cleaner/
GNU General Public License v3.0
10.83k stars 535 forks source link

Unable to use --delete-files #483

Open antarr opened 1 year ago

antarr commented 1 year ago

I'm tyring to use --delete-files but I'm getting this error when Error: *** Can only match on filename, NOT path *** - remove '/' path segments when calling bfg --delete-files public/uploads/genomic_workflow/seq_report/3/SomeFile.zip https://antarr@bitbucket.org/account/respository.git

crapnicki commented 1 year ago

Remove the path from your delete files.

bfg --delete-files SomeFile.zip https://antarr@bitbucket.org/account/respository.git