Last active
July 6, 2021 01:55
-
-
Save wakita/d5d9ef9dfad03705f0496ed92e8dbd61 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
# 以下のイニシャルは脇田のものです.自分(校正者)のイニシャルに変更して下さい. | |
initial=kw | |
dl() { | |
url=$1 | |
file=`echo $url | sed -e 's|.*vsj21-||' -e 's/\?.*//'` | |
comment=`date "+-%m%d-$initial"` | |
file=`echo $file | sed -e "s/.docx/$comment.docx/"` | |
echo $file | |
wget --quiet --output-document=$file $url | |
} | |
dl "https://raw.githubusercontent.com/Makishuhei/info-symp-2021/master/vsj21-maki.docx" | |
dl "https://raw.githubusercontent.com/ikamentai-aya/vissymp21/main/vsj21-ota.docx" | |
dl "https://www.dropbox.com/s/9jeoucq3pyv8p6u/vsj21-ueda.docx?dl=1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment