Let's JAM!

Updating all KRL apps under a directory

I have all of my KRL apps I am working on checked out in a specific directory on my machine. There are times where there are a series of rulesets that I am working on with another developer. At times, one or the other of us will make changes in several different  rulesets, making it a pain to know which apps to update and to go through each of these individually.


To solve this problem, I have put together a bash script which changes directories into all first lever directories under your current directory. It then runs 'krl update' in each of these subdirectories. So, without further adeiu, here's the script!


for D in */; do

cd $D

krl update

cd ..



Yup, it is that simple.