Spaces:
Build error
Build error
Download commit_for_lfs.sh from atoye1/busan_data_navigator: direct link, hf CLI and curl.
- Browser
- Download file 522 Bytes
-
https://huggingface.co/spaces/atoye1/busan_data_navigator/resolve/main/commit_for_lfs.sh
- Command line
-
hf download hf://spaces/atoye1/busan_data_navigator/commit_for_lfs.sh
-
curl -L -o commit_for_lfs.sh https://huggingface.co/spaces/atoye1/busan_data_navigator/resolve/main/commit_for_lfs.sh
522 Bytes
| # large_files.txt ํ์ผ์ด ์กด์ฌํ๋์ง ํ์ธ | |
| if [ ! -f large_files.txt ]; then | |
| echo "Error: large_files.txt file not found!" | |
| exit 1 | |
| fi | |
| # large_files.txt ํ์ผ์ ๊ฐ ์ค์ ์ฝ์ด์ ์ฒ๋ฆฌ | |
| while IFS= read -r file; do | |
| # ํ์ผ์ด ์กด์ฌํ๋์ง ํ์ธ | |
| if [ -f "$file" ]; then | |
| echo "Processing $file" | |
| git rm --cached "$file" | |
| git add "$file" | |
| else | |
| echo "Warning: $file not found!" | |
| fi | |
| done < large_files.txt | |
| # ๋ณ๊ฒฝ ์ฌํญ ์ปค๋ฐ | |
| git commit -m "Move large files to Git LFS" | |