Commit 3ae0f640 authored by Mitar's avatar Mitar
Browse files

Updating script to escape.

parent b67d8a41
Pipeline #111295470 passed with stages
in 69 minutes and 55 seconds
#!/bin/bash -e
# Note: This does not escape filenames. Which means this will not correctly track filenames
# with whitespace, [, ], or other similar characters which have special meaning as a git
# pattern, which is what "git lfs track" in fact expects. In this case, for those filenames,
# they filenames should be manually escaped.
# This requires git LFS 2.9.0 or newer.
find * -type f -size +100k -exec git lfs track '{}' +
find * -type f -size +100k -exec git lfs track --filename '{}' +
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment