Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Hertz-Lab
Research
Intelligent Museum
language-identification
Commits
df5ffd25
Commit
df5ffd25
authored
Jul 26, 2021
by
Paul Bethge
Browse files
add destination folder
parent
d18344bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
data/common-voice/download_and_extract.sh
View file @
df5ffd25
...
...
@@ -14,6 +14,6 @@ mkdir -p $tempdir
tar
-xf
$tarname
-C
$tempdir
# move the content to destination and clean up
mv
$tempdir
/
*
/
*
.
mv
$tempdir
/
*
/
*
$3
rm
-r
$tempdir
rm
$tarname
data/common-voice/download_common_voice.sh
View file @
df5ffd25
...
...
@@ -23,8 +23,11 @@ set -e
# change to script dir
cd
$(
dirname
"
$0
"
)
# name the destination folder
dest
=
"../../../common-voice/"
for
src
in
"
${
downloads
[@]
}
"
do
echo
'Starting download for'
$src
./download_and_extract.sh
$src
${
!src
}
&
./download_and_extract.sh
$src
${
!src
}
$dest
&
done
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment