Upload unzip_folders.sh with huggingface_hub
Browse files- unzip_folders.sh +13 -0
unzip_folders.sh
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
# Script to unzip all zip files in the current directory
|
| 4 |
+
|
| 5 |
+
for zipfile in *.zip; do
|
| 6 |
+
if [ -f "$zipfile" ]; then
|
| 7 |
+
echo "Unzipping $zipfile..."
|
| 8 |
+
unzip -o "$zipfile"
|
| 9 |
+
echo "Extracted $zipfile"
|
| 10 |
+
fi
|
| 11 |
+
done
|
| 12 |
+
|
| 13 |
+
echo "Done!"
|