maxie: for a in `find /web/sites/$somesite/ -type l -exec ls -l {} \;|awk '{print $9":"$11}'`; do file=`echo $a|awk -F\: '{print $1}'`; path=`echo $a|awk -F\: '{print $2}'|sed 's/\/usr\/www\//\/web\/sites\//'`;rm $file; ln -s $path $file; done