Changeset 14780
- Timestamp:
- 8 Aug 2017, 06:05:55 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/docs/source/userdocs/datacenter/export.rst
r13949 r14780 328 328 wget --save-cookies cookies.txt --keep-session-cookies --post-data "form.login=$1&form.password=$2" https://my-kofa-site/login 329 329 330 counter=0 331 330 332 while read variable 331 333 do 332 echo https://my-kofa-site/students/$variable/passport.jpg334 counter=$((counter+1)) 333 335 wget --load-cookies cookies.txt --output-document $variable.jpg https://my-kofa-site/students/$variable/passport.jpg 336 if [[ "$counter" -gt 1000 ]]; then 337 wget --save-cookies cookies.txt --keep-session-cookies --post-data "form.login=$1&form.password=$2" https://my-kofa-site/login 338 counter=0 339 fi 334 340 done < $3 335 336
Note: See TracChangeset for help on using the changeset viewer.