Last change
on this file since 37867 was 37867, checked in by davidb, 10 months ago |
Scripts to process Google Drive zipped files of video content
|
-
Property svn:executable
set to
*
|
File size:
252 bytes
|
Rev | Line | |
---|
[37867] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | cd the-willow-videos
|
---|
| 4 |
|
---|
| 5 | for video_zf in *.zip ; do
|
---|
| 6 | video_dir=${video_zf%.*}
|
---|
| 7 |
|
---|
| 8 | if [ ! -d "$video_dir" ] ; then
|
---|
| 9 | echo "Unzipping: $video_zf"
|
---|
| 10 | unzip "$video_zf"
|
---|
| 11 | else
|
---|
| 12 | echo "Skipping $video_zf, as already unzipped"
|
---|
| 13 | fi
|
---|
| 14 | done
|
---|
| 15 |
|
---|
| 16 | cd ..
|
---|
Note:
See
TracBrowser
for help on using the repository browser.