Rev 3626 Rev 3627
Line 19... Line 19...
19   19  
20 # if exclude-list.txt is present, use it 20 # if exclude-list.txt is present, use it
21 # could as well be changed for rsync -q, but this is more clear 21 # could as well be changed for rsync -q, but this is more clear
22 if [[ -f exclude-list.txt ]] 22 if [[ -f exclude-list.txt ]]
23 then 23 then
24 rsync -vvtz $3 $4 "$UPDIR"/ --exclude-from='exclude-list.txt' "$OBSERVATORYNAME"@space.astro.cz:/storage/robozor/"$OBSERVATORYNAME"/"$STATIONNAME"/"$UPDIR" 24 rsync -vvtz $3 $4 "$UPDIR"/ --exclude-from='exclude-list.txt' "$OBSERVATORYNAME"@space.astro.cz:/storage/bolidozor/"$OBSERVATORYNAME"/"$STATIONNAME"/"$UPDIR"
25 else 25 else
26 rsync -vvtz $3 $4 "$UPDIR"/ "$OBSERVATORYNAME"@space.astro.cz:/storage/robozor/"$OBSERVATORYNAME"/"$STATIONNAME"/"$UPDIR" 26 rsync -vvtz $3 $4 "$UPDIR"/ "$OBSERVATORYNAME"@space.astro.cz:/storage/bolidozor/"$OBSERVATORYNAME"/"$STATIONNAME"/"$UPDIR"
27 fi 27 fi