#!/bin/bash
odir=/data/data3/release/images/$1
mkdir $odir
cd /data/data3/release/catalogs/$1
for cat in *.*.cat;do
  fit=${cat%.*}.fit
  ln -s $2/$fit $odir/$fit
done
