#!/bin/sh rm -fr BOINC/.CVS mkdir BOINC mkdir BOINC/locale find ../locale/client -name 'BOINC-Manager.mo' | cut -d '/' -f 4 | awk '{print "BOINC/locale/"$0}' | xargs mkdir -p find ../locale/client -name 'BOINC-Manager.mo' | cut -d '/' -f 4,5 | awk '{print "cp \"../locale/"$0"\" \"BOINC/locale/"$0"\""}' | sh tar cvf sea.tar BOINC