Download linux-2.0.40/scripts/pathdown.sh from eac123/linux-kernel-charlm: direct link, hf CLI and curl.
- Browser
- Download file 180 Bytes
-
https://huggingface.co/eac123/linux-kernel-charlm/resolve/main/linux-2.0.40/scripts/pathdown.sh
- Command line
-
hf download hf://eac123/linux-kernel-charlm/linux-2.0.40/scripts/pathdown.sh
-
curl -L -o pathdown.sh https://huggingface.co/eac123/linux-kernel-charlm/resolve/main/linux-2.0.40/scripts/pathdown.sh
180 Bytes
| UP= | |
| DN=${PWD:?} | |
| TP=${TOPDIR:?} | |
| while [ ! $TP/$UP/. -ef $DN ] ;do | |
| UP=`basename $PWD`/$UP | |
| cd .. | |
| if [ "$PWD" = "/" ]; then echo "Lost"; exit 1; fi | |
| done | |
| echo $UP | |
| exit 0 | |