root / other-scripts / migrate-issues-to-redmine / export-issues-html.sh @ 15ea82c3
1 | f5ddb21e | Julien Enselme | #!/bin/bash |
---|---|---|---|
2 | |||
3 | mysql -h debian -e "SELECT id FROM issues WHERE project_id = $1" -u root -ptata redmine_default > issues_id_list |
||
4 | |||
5 | mkdir issues_html |
||
6 | cd issues_html |
||
7 | while read line; do |
||
8 | 15ea82c3 | Julien Enselme | wget -k http://debian/redmine/issues/$line > /dev/null |
9 | f5ddb21e | Julien Enselme | done < ../issues_id_list |