Project

General

Profile

Paste
Download (264 Bytes) Statistics
| Branch: | Revision:

root / other-scripts / migrate-issues-to-redmine / export-issues-html.sh @ 15ea82c3

1
#!/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
    wget -k http://debian/redmine/issues/$line > /dev/null
9
done < ../issues_id_list