]> Creatis software - clitk.git/blob - vv/scripts/transfer_patients.sh
*** empty log message ***
[clitk.git] / vv / scripts / transfer_patients.sh
1 #!/bin/bash
2 cd current
3 echo -n "Patients before: "
4 find . -type l | wc -l
5 for i in /home/gauthier/Base_de_donnees_stereo_poumon/*; do [ -e "$i" ] || ln -s "$i" .; done
6 echo -n "Patients after: "
7 find . -type l | wc -l
8 for i in $(find . -type l); do date; echo $i; irsync -rv "$i" "i:/rhone-alpes/home/clb/patients/$i" >> "$i"_$(date "+%H:%m-%d_%b%Y").log; done