/Designs/Measuring_instruments/RMDS01B/SW/Bolidozor/SpectrumLab/upload.sh
21,7 → 21,7
# could as well be changed for rsync -q, but this is more clear
if [[ -f exclude-list.txt ]]
then
rsync -vvtz $3 $4 "$UPDIR"/ --exclude-from='exclude-list.txt' "$OBSERVATORYNAME"@space.astro.cz:/storage/robozor/"$OBSERVATORYNAME"/"$STATIONNAME"/"$UPDIR"
rsync -vvtz $3 $4 "$UPDIR"/ --exclude-from='exclude-list.txt' "$OBSERVATORYNAME"@space.astro.cz:/storage/meteors/"$OBSERVATORYNAME"/"$STATIONNAME"/"$UPDIR"
else
rsync -vvtz $3 $4 "$UPDIR"/ "$OBSERVATORYNAME"@space.astro.cz:/storage/robozor/"$OBSERVATORYNAME"/"$STATIONNAME"/"$UPDIR"
rsync -vvtz $3 $4 "$UPDIR"/ "$OBSERVATORYNAME"@space.astro.cz:/storage/meteors/"$OBSERVATORYNAME"/"$STATIONNAME"/"$UPDIR"
fi