epcim
10/20/2015 - 9:20 AM

bibble-correct_bibble_workqueues.howto.md

#!/bin/sh

fix bibble labs workqueus

for i in `ls *.work`; do cat $i | sed -e 's/\(.*\)\/\(.*\)/\/home\/epcim\/hg2g\/pho\/archive\/2008\/2008-09_DovolenaToskanskoKorsica\/ape-allToProcess\/\L\2/' > $i.ok ; done
echo rm *.work
for i in `ls *.work.ok`; do N=`echo $i | sed -e 's:\.ok::'`; echo mv $i $N ; done