Skip to content

Instantly share code, notes, and snippets.

@wakita
Last active July 6, 2021 01:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wakita/d5d9ef9dfad03705f0496ed92e8dbd61 to your computer and use it in GitHub Desktop.
Save wakita/d5d9ef9dfad03705f0496ed92e8dbd61 to your computer and use it in GitHub Desktop.
#!/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