boinc/sea/make-tar.sh

10 lines
315 B
Bash
Executable File

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