Projet

Général

Profil

Paste
Télécharger (264 octets) Statistiques
| Branche: | Révision:

root / other-scripts / migrate-issues-to-redmine / export-issues-html.sh @ 94065d4e

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