getshows/getviaphone

8 lines
118 B
Plaintext
Raw Normal View History

2020-09-27 14:42:46 -04:00
#!/bin/sh
# Download a file via the phone.
u=$1
f=${u%%\?*}
f=${f##*/}
ssh phone "cd downloads/tmp;wget -O- $u" > $f