diff options
| author | jules on spawn <spawn@cortex> | 2018-04-13 12:03:49 +0200 |
|---|---|---|
| committer | jules on spawn <spawn@cortex> | 2018-04-13 12:03:49 +0200 |
| commit | 48d9f2e2398014d39f818542795a4e176d5207a6 (patch) | |
| tree | 8d61b2b1d2ac5f261761704b60dbfd6e1c21f9d1 | |
| parent | d9f28aa4b5c538468f8b3b8cf39189afc3d13ca5 (diff) | |
get script in root dir
| -rwxr-xr-x | get.pl | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -0,0 +1,17 @@ +#!/usr/bin/perl + +$SIG{TERM} = $SIG{INT} = sub { exit 1 }; + +chdir('datasets'); + +foreach (@ARGV){ + my $s = $_; + if ($s !~/\..*$/) { $s .= ".wav"; } + system('/usr/bin/wget', 'https://neural:spawn5@asdf.us/neural/' . $s); + system('/usr/bin/perl', 'dataset.pl', $s); +} + +END { + chdir('..'); +} + |
