Download tools/script1.sh from orsenthil/sourashtra: direct link, hf CLI and curl.
- Browser
- Download file 214 Bytes
-
https://huggingface.co/datasets/orsenthil/sourashtra/resolve/main/tools/script1.sh
- Command line
-
hf download hf://datasets/orsenthil/sourashtra/tools/script1.sh
-
curl -L -o script1.sh https://huggingface.co/datasets/orsenthil/sourashtra/resolve/main/tools/script1.sh
214 Bytes
| # rename files with space in them. | |
| for file in *" "*.csv; do | |
| if [[ -f "$file" ]]; then | |
| new_name="${file// /-}" | |
| mv "$file" "$new_name" | |
| echo "Renamed: '$file' -> '$new_name'" | |
| fi | |
| done | |