Skip to content

Commit

Permalink
Script for cleaning binaries.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmaguire committed Jul 15, 2023
1 parent a97287c commit f8e08da
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions remove_binaries.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash
git filter-repo --path-glob '*.jar' --invert-paths --force
git filter-repo --path-glob '*.so' --invert-paths --force
git filter-repo --path-glob '*.pyc' --invert-paths --force
git filter-repo --path-glob '*.pdf' --invert-paths --force
git filter-repo --path-glob '*.png' --invert-paths --force
git filter-repo --path-glob '*.TAB' --invert-paths --force
git filter-repo --path-glob '*.P' --invert-paths --force
git filter-repo --path-glob '*.p' --invert-paths --force
git filter-repo --path-glob '*.DS_Store' --invert-paths --force
git filter-repo --path-glob '*test' --invert-paths --force
git filter-repo --path-glob 'docs/_build/*' --invert-paths --force
git filter-repo --path-glob 'examples/math_examples/*' --invert-paths --force
git filter-repo --path-glob 'examples/numerical_examples/*' --invert-paths --force

0 comments on commit f8e08da

Please sign in to comment.