Add batch and PowerShell scripts to find untracked binary files not in Git LFS
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
@echo off
|
||||
:: Batch wrapper to find binary files not tracked by Git LFS
|
||||
|
||||
echo ========================================
|
||||
echo Find Untracked Binaries (Not in LFS)
|
||||
echo ========================================
|
||||
echo.
|
||||
|
||||
:: Check if running from the correct directory
|
||||
if not exist ".git" (
|
||||
echo ERROR: No .git directory found in current folder.
|
||||
echo Please run this script from your repository root.
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo This will scan your repository for binary files that are
|
||||
echo tracked by Git instead of Git LFS.
|
||||
echo.
|
||||
|
||||
:: Run the PowerShell script
|
||||
powershell -ExecutionPolicy Bypass -File "%~dp0find-untracked-binaries.ps1" %*
|
||||
|
||||
echo.
|
||||
pause
|
||||
Reference in New Issue
Block a user