Upload extract_files.sh
Browse files- extract_files.sh +11 -0
extract_files.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
for dir in long_horizon_manipulation_dataset/*
|
4 |
+
do
|
5 |
+
if [[ -d $dir ]]; then
|
6 |
+
for EPISODE in {0..9}
|
7 |
+
do
|
8 |
+
unzip "$dir""/""$EPISODE"".zip" -d "long_horizon_manipulation_dataset" && rm "$dir""/""$EPISODE"".zip"
|
9 |
+
done
|
10 |
+
fi
|
11 |
+
done
|