Created
January 6, 2021 06:44
-
-
Save pgaijin66/554c41d5370a36cf55a244125196d1ca to your computer and use it in GitHub Desktop.
git lfs recursively tracking files and folders
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -type f | perl -ne 'print $1 if m/\.([^.\/]+)$/' | sort -u | awk '{print $1" filter=lfs diff=lfs merge=lfs -text"}' | sed 's/^/*./' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment