summaryrefslogtreecommitdiff
path: root/datasets/get.pl
diff options
context:
space:
mode:
authorjules on spawn <spawn@cortex>2018-04-10 12:40:06 +0200
committerjules on spawn <spawn@cortex>2018-04-10 12:40:06 +0200
commit0ecd9fcea8e7426c003baadc0cd67b62e5cf382f (patch)
tree40d76033034b2f00eda2a3b78bb847e4462e2f33 /datasets/get.pl
parentefe9c4a7f53414c628a865207c6a47f8e5a016f0 (diff)
ffmpeg less verbose, get should append suffix
Diffstat (limited to 'datasets/get.pl')
-rwxr-xr-xdatasets/get.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/datasets/get.pl b/datasets/get.pl
index 8b821c6..531b9f7 100755
--- a/datasets/get.pl
+++ b/datasets/get.pl
@@ -1,4 +1,5 @@
#!/usr/bin/perl
-foreach (@ARGV){ system('/usr/bin/wget', 'https://asdf.us/neural/' . $_); }
+foreach (@ARGV){
+ my $s = $_; if ($s !~/\..*$/) { $s .= ".wav"; } system('/usr/bin/wget', 'https://neural:spawn5@asdf.us/neural/' . $s); }