Git LFS - How to set upload filter for "only over 100 MB files"?


I’m developing a game on the Unreal Engine 4 game engine. And some files are necessarily over 100 MB. One of them is my 3D character. However, in Unreal Engine 4 this character extension appears as .uasset. Likewise, animations and other things can have a .uaset extension.

I want to use Git LFS only for files over 100 MB. So even if it has the same extension (.uasset), I want it to be uploaded to GitHub if it’s under 100 MB, and to GitHub LFS if it’s over 100 MB.

→ Why do I want this?
Because Github only gives us 1GB of space for free! It’s really small. My one character is 106MB so I have to upload it with Git LFS. But although the remaining .uasset files are individually smaller than 100 MB, they are now half full (580 MB) as they take up space from my Git LFS space.

I’m asking for your help as I don’t know how to do this.

Thanks in advance!